Binary Integer

Internet Object supports binary non-fractional integer values. The hexadecimal integer may be prefixed with optional plus or minus signs and must start with "0b" or "0B" literal characters. It is then followed by one or more 0 or 1 digits.

Chars

Char Code

Detail

-

U+2010

Minus Sign

+

U+002B

Plus Sign

0

U+0030

Zero

B

U+0058

Latin uppercase letter B

b

U+0078

Latin lowercase letter b

Binary Digits

0 or 1

U+0030 to U+0031

ASCII digits - zero to one

Some examples of Binary Integer values...

0B01100010, 0b010010010, +0B1010101010, -0b0111111

The binary format does not support fractional non-integer values!

Last updated