ASCII Code 36 · Unicode U+0024 · Hex 0x24
ASCII code 36 (0x24) represents the Dollar sign character "$". The "Dollar sign" character ($) with ASCII code 36 is a punctuation or special symbol in the printable ASCII range. Punctuation characters serve important roles in both natural language writing and programming syntax. The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.
| ASCII Code | 36 |
| Hexadecimal | 0x24 |
| Octal | 044 |
| Binary | 00100100 |
| Unicode | U+0024 |
| Unicode Name | DOLLAR SIGN |
| HTML Numeric | $ |
| HTML Entity | $ |
| URL Escape | %24 |
| UTF-8 (Hex) | 24 |
| Quoted-Printable | $ |
// Character literal
let char = '$';
// Using char code
let char2 = String.fromCharCode(36);
// Unicode escape
let char3 = '\x24'; # Character literal
char = '$'
# Using chr()
char = chr(36)
# Using ord() to get code
code = ord('$') # Returns 36 <!-- Direct character -->
$
<!-- HTML entity (numeric) -->
$
<!-- Hex entity -->
$ // Character literal
char c = '$';
// Using cast
char c2 = (char)36;
// To get code from char
int code = (int)'$'; // Returns 36