4
Digit four
Decimal: 52
Hex: 34
Number
ASCII Values
Decimal
52
Hexadecimal
0x34
Character
4
Usage Examples
JavaScript (from decimal)
String.fromCharCode(52); // "4"
JavaScript (to decimal)
"4".charCodeAt(0); // 52
Python
chr(52) # "4"
ord("4") # 52C/C++
char c = 52; // '4' int code = '4'; // 52
Number Characters
Number characters (48-57) represent the decimal digits 0-9. These are essential for numeric data representation.