Lhex Function

Top  Previous  Next

 

Function:

Converts unsigned 32-bit numeric value (dword) into its HEX string representation.

Syntax:

lhex(byref num as dword) as string

See Also:

str, lstr, stri, lstri, bin, lbin, hex, val, lval

 


Part

Description

num

Value to convert.

Details

Standard "&h" prefix is added at the beginning of the string.

Examples

 

dim s as string

 

s = lhex(65536) 'result will be '&h10000'