FLOOR

Rounds the amount down to a multiple of Significance. When Significance is positive or omitted, rounding is toward negative infinity, so negative amounts round to a more negative value. If Significance is omitted, the multiple is 1 (a whole number).

Formula Syntax

FLOOR(Amount, Significance (optional))

  • Amount: number being rounded.
  • Significance (optional): multiple to which the amount is rounded (default value equals 1). Use a positive value to round toward negative infinity; the multiple can be fractional, such as 0.5.
Examples
  • FLOOR(5.4): equals 5
  • FLOOR(-5.4): equals -6
  • FLOOR(5.4, 2): equals 4
  • FLOOR(-5.4, 2): equals -6
  • FLOOR(5.4, 0.5): equals 5
  • FLOOR(-5.4, -2): equals -4
Comments
  • If both Amount and Significance are negative, rounding is toward zero instead.
  • If significance equals zero or is negative when the amount is positive, 0 is returned.
  • With positive Significance, an amount that is already an exact multiple is unchanged.
Related Topics
PensionSoft Corporation | 860.540.3690 | support@pensionsoft.com