Last Sync: 2022-10-06 11:30:05
This commit is contained in:
parent
5da93d5b97
commit
f39bbf0273
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue