Hex$()

Last Modified: 9/8/2021

Converts a numerical value into into hexidecimal and stores the value in a String variable.

Arguments

NameTypeRequiredDescription
Number Integer, Long, Constant Yes The numerical value or non-String variable to convert to hex.

Example

Syntax: Hex$(<Number>)
    b$ = Hex$(255)
    Print b$

See Also

Asc(), Bin$(), Chr$(), Str$(), Val()