NXSL:d2x

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

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

d2x(15)  	->	"F"
d2x(15,4)	->	"000F"