Returns the integer value, fuzzed to avoid unexpected floating-point results.

Category: | Truncation |

INT(argument)

The INT function returns
the integer portion of the argument (truncates the decimal portion).
If the argument's value is within 1E-12 of an integer, the function
results in that integer. If the value of argument is positive, the INT function has the same result as the FLOOR function.
If the value of argument is
negative, the INT function has the same result as the CEIL function.

Copyright © SAS Institute Inc. All rights reserved.