Difference between revisions of "NumToHex"
Jump to navigation
Jump to search
imported>CSbot (Automated import of articles) |
imported>Jaime74 (Added warning about parameter type; removed CBot template) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE | ||
Line 16: | Line 15: | ||
}} | }} | ||
}} | }} | ||
Take care only to pass real numerics to this function. Passing string values, for example (such as numbers represented by string_var variables), will produce unintended output. | |||
[[Category:Functions]] | [[Category:Functions]] |
Revision as of 03:39, 15 October 2011
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(hex:string) NumToHex num:short width:short
Returns a string representation of an integer in hexadecimal format. An optional width parameter ranging from 0 to 8 specifies the minimum number of digits toinclude; unused digits are padded with zeroes. By default, 8 digits are included.
Take care only to pass real numerics to this function. Passing string values, for example (such as numbers represented by string_var variables), will produce unintended output.