This shows you the differences between two versions of the page.
en:tohex [2016/08/12 13:07] admin |
en:tohex [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== ToHex (Function) ===== | ||
- | **Format** | ||
- | |||
- | ToHex ( [[numericexpressions|numeric_expression]] ) | ||
- | |||
- | returns [[stringexpressions|string_expression]] | ||
- | |||
- | **Description** | ||
- | |||
- | This function converts the integer part of the number passed into a 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 ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.9.45|New To Version| |