A 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.
How to create the $ symbol
Creating the $ symbol on a U.S. keyboard
Creating the $ symbol on a smartphone or tablet
What is a dollar sign used for on a computer?
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.
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.