| Symbol Name | Dollar Sign |
| Unicode Version | 1.1 |
| Unicode | U+0024 |
| Unicode block | |
| General category | Currency Symbol (Sc) |
| CSS Code | \0024 |
| Hex Code | 0x0024 |
| HTML Code | $ |
| LaTeX | \$ |
| Symbol | $ |
| URL encode (UTF-8 percent) | %24 |
| Discord / Slack shortcode | :heavy_dollar_sign: |
| Spoken / screen reader name | Dollar Sign |
| UTF-8 | 24 |
| UTF-16 | 0024 |
| UTF-32 | 00000024 |
1\documentclass{article}2\usepackage{pifont}3\$4\end{document}You can type the dollar sign symbol on most modern devices with the help of following methods:
Shift + 4 on standard keyboards, or Alt + 36 on the numeric keypad.
Shift + 4 on standard keyboards.
Shift + 4 on most keyboard layouts.
Tap the 123 key, then tap the $ symbol.
Tap the ?123 key, then tap the $ symbol.
1span.dollar::before { content: "\0024"; }1<span>$</span>Dollar Sign symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u0024' or String.fromCodePoint(0x0024) |
| Python | '\N{DOLLAR SIGN}' or chr(36) |
| Rust | '\u{0024}' |
| C / C++ | UTF-8 source or wchar_t with U+0024 |
| Go | string(rune(0x0024)) |
| Ruby | "\u0024" |