Int

This function removes the fractional part of a number and returns the resulting integer value.

Syntax

Int(number)

Parameters

number
Any valid numeric expression. If number contains Null, Null is returned.

Return Values

Returns an integer.

Remarks

If number is negative, Int returns the first negative integer less than or equal to number. For example, Int converts –8.4 to –9.