Built-in Functions → long

long() is a conversion function that returns a long value from a double expression.

Signature

long(double exp)
  • double exp : an expression returning double

Returns

long

Example

Convert the double 2306.77 into an long.

long(SALES.SALES.AMOUNT_SOLD)