copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('$'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
$
DOLLAR SIGN
Overview
$ is the DOLLAR SIGN, the currency symbol of the United States dollar and many other currencies that share the name. It occupies U+0024 in the Basic Latin block and is classified as a currency symbol. Written as an S crossed by one or two vertical strokes, it precedes monetary amounts across much of the world, and in computing it takes on further roles such as marking variables, so that it is one of the most versatile symbols in the ASCII range.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| unicode | U+0024 | |
| decimal | 36 | |
| htmldecimal | $ | |
| htmlhex | $ | |
| css | \0024 | |
| javascript | \u{24} | |
| python | \u0024 | |
| java | \u0024 | |
| go | \u0024 | |
| ruby | \u{24} | |
| rust | \u{24} | |
| ccpp | \u0024 | |
| urlencoded | %24 | |
| utf8bytes | 24 | |
| utf16bebytes | 00 24 | |
| utf32bebytes | 00 00 00 24 |
How to Use
HTML:
$
CSS:
content: "\0024"
JavaScript:
"\u{24}"
Python:
"\u0024"
Properties
- Block
- Basic Latin
- Script
- Zyyy
- Category
- Currency Symbol (Sc)
- Bidirectional
- ET
- Combining
- 0
- Mirrored
- No
Frequently Asked Questions
What is the $ character (DOLLAR SIGN)?
$ (DOLLAR SIGN) is the Unicode character U+0024.
What is the Unicode codepoint of DOLLAR SIGN?
The DOLLAR SIGN character ($) has codepoint U+0024.
How do I type or copy DOLLAR SIGN?
Copy $ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.