MC-Basic:HEX$

From SoftMC-Wiki
Revision as of 06:54, 9 March 2017 by Miborich (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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