toInteger
Converts a value to an integer.
If the input value is a number with a decimal point, the function keeps the value without the decimal part.
Arguments
Input element.
Examples
| Expression | Result |
|---|---|
| toInteger(12.95) | 12 |
If the input value is a number with a decimal point, the function keeps the value without the decimal part.
Input element.
| Expression | Result |
|---|---|
| toInteger(12.95) | 12 |