Difference between revisions of "NXSL:d2x"
Jump to navigation
Jump to search
m |
m (Add wikitable for parameters to be more consistent with new formatted documenatation) |
||
Line 10: | Line 10: | ||
== Parameters == | == Parameters == | ||
{| class="wikitable" | |||
|- | |- | ||
| ''number'' || Number to convert to hexadecimal value. | | ''number'' || Number to convert to hexadecimal value. |
Revision as of 11:50, 23 July 2012
Returns the hexidecimal value of a decimal.
Syntax
d2x(number [,padding]);
Parameters
number | Number to convert to hexadecimal value. |
padding | [Optional] left pads results to length given, must be a non-negative whole number. |
Return Value
Hexadecimal value of number.
Examples
dx2(15) -> "F" d2x(15,4) -> "000F"