Floor()
Category: Number
Syntax: Floor ( number ) |
Parameters:
numberAny expression that resolves to a numeric value.
Data type returned: Number
Description:
Returns number rounded down to the next lower integer.
For positive numbers, Floor() and Int() return the same results; however, for negative numbers, Int() returns the next larger integer, whereas Floor() returns the next smaller integer.
Examples:
Function |
Results |
---|---|
Floor (1.0005 ) |
Returns 1. |
Floor ( -1.0005 ) |
Returns 2. |