Int(Numeric number)
Returns the integer part of a number.
Parameters
- number
- The numeric value for which you want to obtain the integer part.
Returns
Numeric
Remarks
Note that if the number is a negative fraction, the result is closer to 0 than the number is.
Examples
Int(2.148)
returns 2Int(0.999)
returns 0Int(-2.148)
returns -2Int(-0.999)
returns 0