- Index
- »
- axon
- »
- func:parseInt
def
func:parseInt
parseInt(val, radix: 10, checked: true)
Parse a Str into a integer number using the specified radix. If invalid format and checked is false return null, otherwise throw ParseErr. This string value cannot include a unit (see parseNumber).
Examples:
parseInt("123") parseInt("afe8", 16) parseInt("10010", 2)