$
Dollar Sign
- Unicode
- U+0024
- Category
- Currency
- HTML Entity
- $
- CSS
- \0024
The Dollar Sign ($) is a globally recognized currency symbol primarily used to represent dollar-denominated currencies like the US, Canadian, and Australian dollar. Historically derived from the abbreviation for the Spanish peso, its inclusion in the original ASCII standard makes it a foundational character in modern computing. Beyond finance, it frequently appears in everyday digital communication to denote money, wealth, or pricing.
How to Type
- Windows
- Shift + 4 (US layout) or Alt + 0036
- macOS
- Shift + 4 (US layout)
- Linux
- Shift + 4 (US layout)
- HTML
- $ or $
In Programming
In programming, the dollar sign is heavily used as a variable prefix in languages like PHP and Bash, and to evaluate template literals in JavaScript. It also functions in regular expressions as an anchor to match the end of a string or line.
Tags
ascii dollar
buck
cash symbol
currency
currency symbol
dolla
dollar
dollar sign
dollar sign text
dollar symbol copy
finance
money
money sign
price
price symbol
regex dollar
shell variable
usd
usd symbol