Number Base Conversion

Converts an integer to another number base.

Binary numbers use the prefix 0b and hexadecimal numbers use the prefix 0h.

The conversion is performed automatically if the document settings use a different base than the entered number.

Syntax

Integer@>Base2
Integer@>Base10
Integer@>Base16
IntegerarrowBase2
IntegerarrowBase10
IntegerarrowBase16

Examples

Base conversions

In TI-Nspire, integers can be converted between different number systems, such as decimal, binary, and hexadecimal. Binary numbers use the prefix 0b and hexadecimal numbers use 0h. Without a prefix, a number is interpreted as decimal. Conversions can be performed using Base commands or by typing, for example, 10@>Base2 from the keyboard. If the document’s base setting is changed, results are shown by default in the selected base. Individual results can still be converted separately if needed.