hex: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function hex== Returns a string which contains the hexadecimal representation of the number that was passed in. ===Usage=== <source lang="mtmacro" line> [h: hexVal = hex(num) </source> ...) |
m (Macros:Functions:hex moved to hex: Moved out of Macro namespace) |
(No difference)
|
Revision as of 04:19, 8 March 2009
Function hex
Returns a string which contains the hexadecimal representation of the number that was passed in.
Usage
[h: hexVal = hex(num)
Examples
[r: hex(23)]
Returns 0x17.
[r: hex(10)]
Returns 0xA.