hexstr(
VALUE
)

The hexstr( function converts a number to text formatted as a hexadecimal number.


Parameters

This function has one parameter:

value – is the number you want to convert to hexadecimal. This parameter can also be a raw Binary Data value.


Description

This function converts a number or binary data value to text formatted as a hexadecimal number. See Non Decimal Numbers for background information on hexadecimal numbers.

hexstr(12) ☞ 000000000000000C
hexstr(3021) ☞ 0000000000000BCD
hexstr(100000) ☞ 00000000000186A0

The hexstr( function can also be used to convert a Binary Data value to hexadecimal text.

hexstr(longword(59833456)) ☞ 70FC9003
hexstr(longword(59833456)+longword(98384950)+longword(374958392)) ☞ 70FC9003363CDD0538695916

Note: This function is equivalent to:

radixstr("hex",number)

See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now supports 64 bit values (so there may be additional zero padding for smaller numbers).