Difference between revisions of "Documentation/How Tos/Calc: INT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (Talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (Talk | contribs) m (Bot: Adding Category: Documentation) |
||
Line 33: | Line 33: | ||
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation]] |
Revision as of 12:10, 20 November 2009
INT
Rounds a number down to the nearest integer.
Syntax:
INT(number)
- returns number rounded down to the nearest integer.
- Negative numbers round down to the integer below: -1.3 rounds to -2.
Example:
INT(5.7)
- returns 5
INT(-1.3)
- returns -2.