You are here: >

Dollar sign

Dollar signA dollar sign ($) is the symbol found on the same key as the number four on United States QWERTY keyboard. It is used to represent a US currency value, e.g. $10.00 for ten dollars. As seen in the picture to the right, the dollar sign looks like the letter "S" with a vertical line going through the middle.

Where is the dollar sign key on the keyboard?

Below is an overview of a computer keyboard with the dollar sign key highlighted in blue.

Dollar sign key

How to create the $ symbol

Creating the $ symbol on a U.S. keyboard

To create the dollar sign symbol using a U.S. keyboard hold down the Shift key and press the number four at the top of the keyboard.

Creating the $ symbol on a smartphone or tablet

To create a tilde on a smartphone or tablet open the keyboard and go into the numbers (123) or symbols (sym) section and then press your finger on the $ symbol.

What is a dollar sign used for on a computer?

In programming

In computer programming languages, the dollar sign has a wide variety of uses. In languages like BASIC, Pascal, and PHP, the dollar sign is used to define variables and constants. ALGOL 68 and TeX typesetting languages use the dollar sign for delimiting transput format and mathematical regions. ASP.NET uses the dollar sign to indicate an expression.

In applications

The dollar sign is also used in various computer applications like Microsoft Excel, and operating systems like Microsoft Windows. For example, in the Windows operating system, users can hide shared folders by adding the dollar sign to the end of the folder's name. In Excel and other spreadsheet programs, the dollar sign is used in formulas to denote an absolute cell reference (e.g., =$D$4*A3). It has also been used to indicate the end of a line or file in text editors.

Also see: $1, ASP.NET, Constant, Currency, Spreadsheet, Variable.