hexbyte(
VALUE
)

The hexbyte( function converts a limited range of decimal numbers to a two-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 should be from 0 to 255.


Description

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

hexbyte(68) ☞ 44
hexbyte(230) ☞ E6

Note: This function is equivalent to:

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

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.