FUNCTION
big_integer.from_text
pure static function from_text(value: text): big_integerParse a signed base-10 text representation of an integer.
Parameters
- value — the text to parse
Throws
exception— if the text is ill-formed
Since 0.12.0
pure static function from_text(value: text, radix: integer): big_integerParse a signed text representation of an integer. The integer is interpreted in the specified radix (from 2 to 36 inclusive).
Parameters
- value — the text to parse
- radix — the radix with which to interpret
value
Throws
exception— when - the text is ill-formed - the radix is outside the supported range
Since 0.12.0