Skip to content

The ▶Hex Command

Command Summary Command Syntax Calculator Compatibility Token Size
Converts a number to a base-16 number. integer▶Hex This command works on all calculators. 2 bytex

MATH/base

The ▶Hex Command

The ▶Hex command takes an integer and converts it to hexadecimal, including the prefix "0h". Here is an example program.

15›Hex
//returns F
16›Hex
//returns 10
0b10000›Hex
//returns 20
Authors: KG