Returns the greatest integer less than or equal to x.
Syntax
floor(x)
Parameters
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 or equal to x.
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