ANINT
(ANINT(
arg
))
Rounds the decimal fraction to the nearest integer, returning a whole number in the original REAL, NUMERIC, or DOUBLE data type.
In the following example, the value of
vanint1
is
3.0
and the value of
vanint2
is
4.0
.
SET VAR vanint1 = (ANINT(2.6))
SET VAR vanint2 = (ANINT(4.45))