| INT Function | Reference/Commodore BASIC V3.5
INT(X)
This function returns a numeric value.
This function truncates a number with decimal parts into an INTeger number. The INT function only ignores the decimal part, it does not round the number. Therefore, it always returns the next lowest integer.
INT(9.34) Returns the value 9
INT(-5.1) Returns the value -6, as it is the next lowest integer
None |
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |