$

ASCII Code 36

Dollar sign

About This Character

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.

Character Encoding

Decimal 36
Octal 044
Hexadecimal 0x24
Binary 00100100
HTML Code $
HTML Entity $
Unicode U+0024
Unicode Name DOLLAR SIGN
URL Escape %24
Quoted-Printable $
UTF-8 (Hex) 24
Category Printable — Punctuation & Symbols

How to Type in Code

JavaScript
// Character literal
let char = '$';
// Using char code
let char2 = String.fromCharCode(36);
// Unicode escape
let char3 = '\x24';
Python
# Character literal
char = '$'
# Using chr()
char = chr(36)
# Using ord() to get code
code = ord('$')  # Returns 36
HTML
<!-- Direct character -->
$
<!-- HTML entity (numeric) -->
&#36;
<!-- Hex entity -->
&#x24;
C#
// Character literal
char c = '$';
// Using cast
char c2 = (char)36;
// To get code from char
int code = (int)'$';  // Returns 36

See Also

Copied!