Docs
chromia.com

FUNCTION

integer.from_text

pure static function from_text(value: text, [radix: integer]): integer

Parse a signed text representation of an integer.

Parameters

  • value — the text to parse
  • radix — the radix in which to interpret value, defaults to 10

Throws

  • exception — if the text is ill-formed

Since 0.9.0