Name: AINT Syntax: (AINT(arg))
Family: Function Category: Conversion
Description: Truncates a decimal value

AINT truncates the decimal fraction of a REAL or NUMERIC value and returns a whole number in the original REAL or NUMERIC type.

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

SET VAR vaint = (AINT(1.8))