INT
Rounds a number (toward negative infinity) to a whole number
Usage
INT(number)
Parameters
number |
(Required) The number to round |
Examples
More information
If number
is already whole, then number
is returned as is.
Reminders
A text containing digits is not handled as a number. To have an actual number:
- use the
@NUMBER_QUESTION
to set the variable - write a numeric value directly in the code without quotes, ex:
age >= 18
- use a function which converts to a number:
NUMBER(text_containing_numbers)
- use a function which returns a number:
FIND("world", "hello everybody")