Hex$ Function

Syntax

Hex[$](Num)

Group

String

Description

Return a hex string.

Parameters

Parameters Description
Num Return a hex encoded string for this numeric value.

Example


Sub Main
    Debug.Print Hex$(15) 'F
End Sub

See also

Oct$( ), Str$( ), Val( )