User Tools

Site Tools


en:fromhex

This is an old revision of the document!


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

History

0.9.9.45New To Version
en/fromhex.1451713267.txt.gz · Last modified: 2020/02/28 10:46 (external edit)