Text.parse_integer
parse_integerradix
Group: Conversions
Aliases: integer from text
, to_integer
Documentation
Parses a textual representation of an integer into an integer number, returning a Number_Parse_Error
if the text does not represent a valid integer.
Arguments
radix
: The number base to use for parsing (defaults to 10).radix
must be between 2 and 36 (inclusive) -- see https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/lang/Character.html#MIN_RADIX.
Examples
Parse the text "20220216" into an integer number.
"20220216".parse