MC-Basic:HEX$

From SoftMC-Wiki
Jump to: navigation, search

HEX$ returns the string representation of a number in a hexadecimal format.

Letters appear in capital form.

Syntax

HEX$(<number>)

Availability

Versions 3.6.20  and higher

Type

<return value>: String

<number>: Long

Range

<number>: MinLong to MaxLong

Scope

Configuration, Task or Terminal

Examples

-->myStr = Hex$(985421)

-->?myStr

F094D

See Also