Skip to main content Skip to complementary content
Close announcements banner

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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!