NXSL:d2x

Revision as of 23:04, 22 July 2012 by Lweidig (talk | contribs) (Initial version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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"