hexword(

VALUE
)


The hexword( function converts a decimal number to a four-digit hexadecimal number expressed as a text string.


Parameters

This function has one parameter:

value – is the decimal number you want to convert to hexadecimal. The value must be from 0 to 65535.


Description

Converts a decimal number to a four-digit hexadecimal number expressed as a text string. See Non Decimal Numbers for background information on hexadecimal numbers.

hexword(68) ☞ 0044
hexword(50000) ☞ C350

Note: This function is equivalent to:

radixstr("hex",number)[-4,-1]

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.