Returns the Hex representation of the Decimal number entered in the “Dec” parameter, optionally with leading-zeros depending on the “NumDigits” parameter.
Return Type
Text (HexColor)
Format
CNSImage_DecToHex ( Dec ; NumDigits )
Required Parameters
Dec
The Decimal number to convert to Hexidecimal.
Optional Parameters
NumDigits
The minimum number of digits in the returned Hexidecimal number.