All representations
| Format | Value |
|---|---|
| Name | Digit 7 |
| Decimal | 55 |
| Hexadecimal | 0x37 |
| Octal | 067 |
| Binary | 00110111 |
| HTML numeric entity | 7 / 7 |
| Unicode code point | U+0037 |
| URL encoded | %37 |
| UTF-8 bytes | 37 (one byte, same as ASCII) |
Notes
- Subtracting 48 from the code gives the digit value 7.
- In C:
'7' - '0' == 7.
Nearby codes
Get this code in code
JavaScript '7'.charCodeAt(0) // 55
Python ord('7') # 55
C (char)55