Dollar sign

Dollar signDollar 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.

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.

Related pages

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