Dinas-emrys (talk | contribs) (Created page with "== Customs == * It is customary to separate groups of three '''decimal''' digits by commas. For example: 123,456<sub>10</sub>. * It is customary to separate groups to two ''...") |
Dinas-emrys (talk | contribs) |
||
Line 4: | Line 4: | ||
* It is customary to separate groups of three '''octal''' digits by spaces and prefix leading zeros to pad to a three digit grouping. For example: 001 237<sub>8</sub>. | * It is customary to separate groups of three '''octal''' digits by spaces and prefix leading zeros to pad to a three digit grouping. For example: 001 237<sub>8</sub>. | ||
* It is customary to separate groups of four '''binary''' digits by spaces and prefix leading zeroes to pad to a four digit grouping. For example: 0001 1011 1100<sub>2</sub>. | * It is customary to separate groups of four '''binary''' digits by spaces and prefix leading zeroes to pad to a four digit grouping. For example: 0001 1011 1100<sub>2</sub>. | ||
<noinclude>{{MerlinMultipageExperienceNavBar}}</noinclude> |
Revision as of 09:48, 24 November 2021
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Customs[edit]
- It is customary to separate groups of three decimal digits by commas. For example: 123,45610.
- It is customary to separate groups to two hexadecimal digits by spaces and prefix a leading zero to what would otherwise be a single digit. For example: 01 2F16.
- It is customary to separate groups of three octal digits by spaces and prefix leading zeros to pad to a three digit grouping. For example: 001 2378.
- It is customary to separate groups of four binary digits by spaces and prefix leading zeroes to pad to a four digit grouping. For example: 0001 1011 11002.