toInteger
toInteger()
Section titled “toInteger()”Category: Conversion
Converts the input value to an integer
Signature
Section titled “Signature”- Return type:
Integer
Examples
Section titled “Examples”'123'.toInteger()123.45.toInteger()true.toInteger()