en:fromhex [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:fromhex

## FromHex (Function)

### Format

fromhex ( string_expr )

returns integer_value

### Description

This function returns an integer number represented by the Hexadecimal (base 16) string. Hexadecimal represents 16 different values per digit and the symbols 0-9 and a-f are used.

### Example

    print fromhex("10")
    print fromhex("ff")

displays

    16
    255

### See Also

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

### History

0.9.9.45 | New To Version

en/fromhex.txt · Last modified: 2014/02/08 11:04 by admin