AINT
Top  Previous  Next

(AINT(arg))

Truncates the decimal fraction, returning a whole number in the original REAL, NUMERIC, or DOUBLE data type.

In the following example, the value of vaint is 1.

SET VAR vaint = (AINT(1.8))