DevKits

ASCII 52

Digit 4 (4)

Printable ASCII

The digit four.

All encodings at a glance

Decimal52
Hexadecimal0x34
Octal0064
Binary00110100
HTML numeric entity4
URL encoding%34
UTF-8 bytes0x34

Code snippets

JavaScript

String.fromCharCode(52); // "4"
52.toString(16); // "34"

Python

chr(52)           # '4'
ord(chr(52))      # 52
hex(52)           # '0x34'

HTML

&#52;   <!-- numeric entity (no named entity for this character) -->

Nearby codes