Table of Contents

FromRadix (Function)

Format

fromradix ( string_expression, numeric_base )

returns integer_expression

Description

Converts a string in any base from 2 to 36 into an integer value.

Example

print fromradix("ffef",16)
print fromradix("1001101", 2)
print fromradix("a1z9",36)

displays

65519
77
469125

See Also

2016/01/01 22:42

History

0.9.9.45New To Version