INT: Finding the Greatest Integer

How to:

The INT function returns the integer component of a number.


Top of page

x
Syntax: How to Find the Greatest Integer
INT(in_value)

where:

in_value

Numeric

Is the value for which the integer component is returned. If you supply an expression, use parentheses as needed to ensure the correct order of evaluation.

Note: INT does not use an output argument. The format of the result is floating-point double precision.



Example: Finding the Greatest Integer

INT finds the greatest integer in DED_AMT.

INT(DED_AMT)

For $1,261.40, the result is 1261.

For $1,668.69, the result is 1668.


iWay Software