asInt

open fun asInt(): Int(source)

Deprecated

This function has issues with corner cases, such as 2147483648, so please use asNumber. It will be made private or merged with asNumber in future releases

Return

the literal value as an integer while respecting different number representations