binary number

The base-two number system, using only the digits 0 and 1, in which computers store all data.

In more detail

Whole numbers convert to binary exactly, but most decimal fractions such as 0.1 become endless repeating binary fractions that must be cut short, which is where float rounding errors come from. bin(5) shows 0b101.

Related terms

Taught in

References

Certification courses