ASCII 55
ASCII 55 is Digit 7, written 7.
Every representation
| Character | 7 |
| Name | Digit 7 |
| Decimal | 55 |
| Hexadecimal | 0x37 |
| Octal | 0067 |
| Binary | 00110111 |
| HTML entity | 7 |
| Escape sequence | \x37 |
| Unicode | U+0037 |
| Group | Digit |
What it is for
The digit 7. The digits occupy 48 to 57, so subtracting 48 from a digit's code gives its numeric value — the oldest trick in character handling.
Where the number comes from
The digits were placed at 48 to 57 so that 0 through 9 are contiguous and the low four bits of each code are the digit's own value: 55 in binary is 00110111, and the last four bits are 0111, which is 7.
Frequently asked questions
What is ASCII 55?
Digit 7, the character 7. In hexadecimal it is 0x37, in octal 0067, and in binary 00110111.
How do I type ASCII 55?
Type 7 directly. In a string literal it can also be written \\x37, and in HTML as 7.
Is ASCII 55 printable?
Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.
Nearby codes
- ASCII 48 — 0
- ASCII 49 — 1
- ASCII 50 — 2
- ASCII 51 — 3
- ASCII 52 — 4
- ASCII 53 — 5
- ASCII 54 — 6
- ASCII 56 — 8
- ASCII 57 — 9
- ASCII 58 — :
- ASCII 59 — ;
- ASCII 60 — <
- ASCII 61 — =
- ASCII 62 — >
Full ASCII table · Text to binary converter · Number base converter