# BASIC 256 - Language Documentation

en:tohex

Format

ToHex ( Variable )

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

    For t = 1 to 10
    print ToHex(t)
    next t

Results in

    1
    2
    3
    4
    5
    6
    7
    8
    9
    a

See also fromhex

en/tohex.txt · Last modified: 2013/04/14 12:09 by annoyingcalc