Link Search Menu Expand Document

Integer Parse (String to Integer)

Parses a text representation of an integer. An optional base to the corresponding integer can be provided. If base is not given, 10 will be used.


String: Location of the integer to convert into an ordered digits
Base: Digit base  E.g. Digit ‘2’ will convert the integer into binary


Output-location: Location to store the output data

If successful, returns an object in the form of {integer, remainder_of_binary}. Otherwise error.

Raises an error if base is less than 2 or more than 36.If you want to convert a string-formatted integer directly to an integer, use String to Integer instead.