Non-Decimal-Base Format

<< Click to Display Table of Contents >>

 

Non-Decimal-Base Format

Formats for non-decimal bases always present the whole part of the formatted numerical value, and they are also not sensitive to signs. As in decimal bases, if the number contains more digits than required in this format, these digits are presented anyway.

Currently, these formats are limited to 32-bit numbers. In case the value's integer part exceeds this limit, this format returns an error. The next table contains examples of values formatted using a non-decimal-base format.

Non-decimal-base formats

Data

Format

Formatted Output

255

"0x"XXX

0x0FF

12345

oooo\o

30071o

987

B

1111011011

12

BBBB - BBBB

0000 - 1100

Was this page useful?