Returns the greatest integer less than the specified number.
Syntax
floor(x)
x can be any of the following data types:
Long, Money, or Double.
Examples
floor(1.4)
= 1floor(1.6)
= 1floor(-1.4)
= -2floor(-1.6)
= -2
Returns the greatest integer less than the specified number.
floor(x)
x can be any of the following data types:
Long, Money, or Double.
floor(1.4)
= 1floor(1.6)
= 1floor(-1.4)
= -2floor(-1.6)
= -2