ASCII 52
Digit 4 (4)
Printable ASCII
The digit four.
All encodings at a glance
| Decimal | 52 |
| Hexadecimal | 0x34 |
| Octal | 0064 |
| Binary | 00110100 |
| HTML numeric entity | 4 |
| URL encoding | %34 |
| UTF-8 bytes | 0x34 |
Code snippets
JavaScript
String.fromCharCode(52); // "4"
52.toString(16); // "34"Python
chr(52) # '4'
ord(chr(52)) # 52
hex(52) # '0x34'HTML
4 <!-- numeric entity (no named entity for this character) -->