CASTI-89 TITANIUM · CALC89
floor(
Returns the largest integer that is less than or equal to a value.
Syntax
floor(expr)
- Group
- Number functions
- Arguments
- Takes one value.
- Availability
- Included
Example
| Input | Result |
|---|---|
| floor(2.7) | 2.0 |
Typing floor(2.7) on the home screen and pressing ENTER returns 2.0.
Related commands
- fPart(Returns the fractional part of a number, the part after the decimal point.
- gcd(Returns the greatest common divisor of two integers.
- imag(Returns the imaginary part of a complex number.
- iPart(Returns the integer part of a number, truncated toward zero.
- lcm(Returns the least common multiple of two integers.
- ln(Returns the natural logarithm of a value, the logarithm to base ℯ.
- log(Returns the common logarithm of a value, or the logarithm to a given base.
- max(Returns the larger of two values, or the largest element of a list.