long

Returns long from double.

Example

Convert the double 2306.77 into an long.

long(SALES.SALES.AMOUNT_SOLD)

Syntax

long(double expr x)
  • x : expression returning double

    Returns

    long

Notes

Converts a double expression into a long, truncating the fractional amount.