digit-to-integer

Convert a character to the integer it denotes.  ‘0’ through ‘9’ convert to 0 to 9, and ‘a’ through ‘z’ convert to 10 to 35.  An error is signaled if the character is not in this range.

Exported from

Modifiers

sealed

Arguments

characterAn instance of <character>.  An error is signaled if it is not alphanumeric.

Values

integerAn instance of <integer> between 0 and 35 inclusive.
This module contains some handy functions to convert numbers to strings and vice-versa, as well some <character> to <string> conversions.
The class of characters.
The class of integers.