Difference between revisions of "NXSL:d2x"

From NetXMS Wiki
Jump to navigation Jump to search
(Initial version)
(No difference)

Revision as of 21:04, 22 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"