floor

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) = 1
  • floor(1.6) = 1
  • floor(-1.4) = -2
  • floor(-1.6) = -2
Was this helpful?
How can we improve it?