en:fromradix [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:fromradix

## FromRadix (Function)

### Format

fromradix ( string_expr, base_expr )

returns integer_value

### 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

FromBinary, FromHex, FromOctal, FromRadix,ToBinary, ToHex, ToOctal, ToRadix

### History

0.9.9.45 | New To Version

en/fromradix.txt · Last modified: 2014/02/08 11:05 by admin