CLNG function
Purpose: CLNG rounds a numeric expression to a LONG(32-bit integer) value. CLNG rounds to the nearest even number. For example, -0.5 rounds to 0, and 3.5 rounds to 4.
Syntax: RetVal% = CLNG(Numeric Expression) Parameters:
|
Example:
PRINT CLNG(-0.5) PRINT CLNG(3.5)
Result:
0 4