long() is a conversion function that returns a long value from a double expression.
long
double
Copylong(double exp)
Convert the double 2306.77 into an long.
Copylong(SALES.SALES.AMOUNT_SOLD)