Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Decimal separator
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===In non-base-10 numbering systems=== In binary (base-2), a full space can be used between groups of four digits, corresponding to a [[nibble]], or equivalently to a [[hexadecimal]] digit. For integer numbers, dots are used as well to separate groups of four bits.{{efn|name="DR-DEBUG_H"| As an example, the [[DR-DOS]] [[DEBUG (DOS command)|DEBUG]] {{code|H}} command (short for 'hex') displays the entered hexadecimal number in hexadecimal, followed by the same number in decimal, octal, and binary, prefixed with a hash sign ({{code|#}}), backslash ({{code|\}}), and percent sign ({{code|%}}) respectively: <pre> -h 1234 1234 #4660 \011064 %0001.0010.0011.0100 </pre>}} Alternatively, binary digits may be grouped by threes, corresponding to an [[octal]] digit. Similarly, in hexadecimal (base-16), full spaces are usually used to group digits into twos, making each group correspond to a [[byte]].{{efn|name="DR-DEBUG_D"}} Additionally, groups of eight bytes are often separated by a hyphen.{{efn|name="DR-DEBUG_D"| As an example, the [[DR-DOS]] [[DEBUG (DOS command)|DEBUG]] {{code|D}} command (short for 'dump') dumps the memory byte-wise in hexadecimal notation, with bytes separated by spaces and groups of eight bytes separated by hyphens: <syntaxhighlight lang="hexdump"> -d 0 1234:0000 57 69 6B 69 70 65 64 69-61 20 68 65 6C 70 73 21 Wikipedia helps! </syntaxhighlight>}}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)