Last Sync: 2022-10-06 11:30:05

This commit is contained in:
tactonbishop 2022-10-06 11:30:05 +01:00
parent 5da93d5b97
commit f39bbf0273

View file

@ -75,6 +75,10 @@ Counting in binary:
000111
```
## Binary prefix
To distinguish numbers in binary from decimal or [hexadecimal](/Hardware/Binary/Hexadecimal_number_system.md) numbers, it is common to use the prefix `0b`. Thus, e.g, `0b110` for decimal `6`.
## Converting decimal to binary
Let's convert 6 into binary: