# Dollar sign

(Redirected from $) Jump to: navigation, search$
Dollar sign
Punctuation Word dividers General typography Intellectual property Currency apostrophe ( ’ ' ) brackets ( [ ], ( ), { }, ⟨ ⟩ ) colon ( : ) comma ( , ، 、 ) dash ( ‒, –, —, ― ) ellipsis ( …, ..., . . . ) exclamation mark ( ! ) full stop / period ( . ) hyphen ( ‐ ) hyphen-minus ( - ) question mark ( ? ) quotation marks ( ‘ ’, “ ”, ' ', " " ) semicolon ( ; ) slash / stroke / solidus ( /,  ⁄  ) interpunct ( · ) space ( ) ( ) ( ) ampersand ( & ) asterisk ( * ) at sign ( @ ) backslash ( \ ) bullet ( • ) caret ( ^ ) dagger ( †, ‡ ) degree ( ° ) ditto mark ( ″ ) inverted exclamation mark ( ¡ ) inverted question mark ( ¿ ) number sign / pound / hash ( # ) numero sign ( № ) obelus ( ÷ ) ordinal indicator ( º, ª ) percent, per mil ( %, ‰ ) plus and minus ( + − ) basis point ( ‱ ) pilcrow ( ¶ ) prime ( ′, ″, ‴ ) section sign ( § ) tilde ( ~ ) underscore / understrike ( _ ) vertical bar / broken bar / pipe ( ¦, | ) copyright symbol ( © ) registered trademark ( ® ) service mark ( ℠ ) sound recording copyright ( ℗ ) trademark ( ™ ) currency (generic) ( ¤ ) currency (specific) ( ) asterism ( ⁂ ) hedera ( ❧ ) index / fist ( ☞ ) interrobang ( ‽ ) irony punctuation ( ⸮ ) lozenge ( ◊ ) reference mark ( ※ ) tie ( ⁀ ) diacritical marks logic symbols whitespace characters non-English quotation style ( « », „ ” ) Chinese punctuation Hebrew punctuation Japanese punctuation Korean punctuation

The dollar or peso sign ($) is a symbol primarily used to indicate the various peso and dollar units of currency around the world. ## Origin The sign is first attested in British, American, Canadian, Mexican and other Spanish American business correspondence in the 1770s, referring to the Spanish American peso,[1][2] also known as "Spanish dollar" or "piece of eight" in British North America, which provided the model for the currency that the United States later adopted in 1785 and the larger coins of the new Spanish American republics such as the Mexican peso, Peruvian eight-real and Bolivian eight-sol coins. The dollar sign ($) originated from the spanish Pillar Dollar. Around the pillars are the letter 's'.

The best documented explanation reveals that the sign evolved out of the Spanish and Spanish American scribal abbreviation "ps" for pesos. A study of late eighteenth- and early nineteenth-century manuscripts shows that the s gradually came to be written over the p developing a close equivalent to the "$" mark.[3][4][5][6][7] ## Alternative hypotheses There are a number of other theories about the origin of the symbol, some with a measure of academic acceptance, others the symbolic equivalent of false etymologies.[8] ### Drawn with one vertical line ($)

#### Slash 8

One theory is that the dollar sign is derived from a slash through the numeral eight, denoting pieces of eight. The Oxford English Dictionary before 1963 held that this was the most probable explanation, though later editions have placed it in doubt.

#### Spanish pieces of eight

Image of a 1768 Spanish Colonial Real silver coin, showing the PTSI mint mark in the lower right and left quadrants and the Pillars of Hercules surrounding a picture of the world.

Another theory is that the dollar sign was derived from or inspired by the mint mark on the Spanish pieces of eight that were minted in Potosí (in present day Bolivia). The mint mark, composed of the letters "PTSI" superimposed, bears a strong resemblance to the single-stroke dollar sign (see photo). The mark, which appeared on silver coins minted from 1573 to 1825 in Potosí, the largest mint during the colonial period, would have been widely recognized throughout the North American colonies.[citation needed]

As the dollar sign is one of the few symbols that is, on one hand, almost universally present in computer character sets, but, on the other hand, rarely needed in their literal meaning within computer software, the $character has been used on computers for many purposes unrelated to money.[16] Its uses in programming languages have often influenced or provoked its uses in operating systems, and applications. ### Programming languages •$ was used for defining string variables in older versions of the BASIC language ("$" was often pronounced "string" instead of "dollar" in this use).[16] •$ is used for defining hexadecimal constants in Pascal-like languages such as Delphi, and in some variants of assembly language.[16]
• $is used at the starts of names to define variables in the PHP language and the AutoIt automation script language, scalar variables in the Perl language (see sigil (computer programming)), and global variables in the Ruby language.[16] In Perl programming this includes scalar elements of arrays$array[7] and hashes $hash{foo}. • In most shell scripting languages,$ is used for interpolating environment variables, special variables, arithmetic computations and special characters, and for performing translation of localised strings.[16]
• $is used in the ALGOL 68 language to delimit transput format regions. •$ is used in the TeX typesetting language to delimit mathematical regions.[16]
• In many versions of FORTRAN 66, $could be used as an alternative to a quotation mark for delimiting strings.[16] • In PL/M,$ can be used to put a visible separation between syllables of identifiers. For example, 'Some$Name' refers to the same thing as 'SomeName'.[16] • In Haskell,$ is used as a function application operator.[16]
• In several JavaScript frameworks starting with Prototype.js and also popular in jQuery, $is a common utility class. • In ASP.NET, the dollar sign indicates an expression will follow it, when used in a tag in the web page. The expression that follows is .NET language-agnostic[disambiguation needed], as it will work with c#, vb.net, or any CLR supported language. • In Erlang, the dollar sign precedes character literals. The dollar sign as a character can be written$$. • In COBOL the$ sign is used in the Picture clause to depict a floating currency symbol as the left most character. The default symbol is $however if the CURRENCY= or CURRENCY SIGN clause is specified, any single symbol can be used. ### Operating systems • In CP/M and subsequently in all versions of DOS (86-DOS, MS-DOS, PC DOS, more) and derivatives,$ is used as a string terminator (Int 21h with AH=09h).[16]
$is used by the prompt command to insert special sequences into the DOS command prompt string.[16] • In Microsoft Windows,$ is used at the end of the share name to hide a shared folder. For example, \\server\share is accessible and visible through browsing, while \\server\share$is accessible only by explicit reference. Most administrative shares are hidden.[16] • In Unix-like systems the$ is often part of the command prompt, depending on the user's shell and environment settings. For example, the default environment settings for the bash shell specify $as part of the command prompt. The using history expansion !$ (same as !!1$ and !-1$) means the last argument of the previous command in bash, !-2$ expands to the last argument of the penultimate command, !5$ expands into the last argument of the fifth command and so on. For example:
> touch my_first_file
> echo "This is my file." > !$ where !$ expands into my_first_file.
• In the LDAP directory access protocol, $is used as a line separator in various standard entry attributes such as postalAddress.[16] ### Applications ## Currencies that use the dollar or peso sign In addition to those countries of the world that use dollars or pesos, a number of other countries use the$ symbol to denote their currencies, including:

An exception is the Philippine peso, whose sign is written as .

The dollar sign is also still sometimes used to represent the Malaysian ringgit (which replaced the local dollar), though its official use to represent the currency has been discontinued since 1993.

Some currencies use the cifrão $(\mathrm{S}\!\!\!\Vert )$, similar to the dollar sign, but always with two strokes:

The cifrão is also used to account for over 130,000,000 domestic standard U.S. Mint (1986+) bullion U.S. silver dollars as one dollar per one troy ounce fine (99.9%), thereby avoiding confusion with debased U.S. trade dollar-denominated tokens and Federal Reserve notes.[citation needed]

In Mexico and other peso-using countries, the cifrão is used as a dollar sign when a document uses pesos and dollars at the same time, to avoid confusions, but, when it used alone, usually is represented as US $(United States dollars). Example: US$5 (five US dollars).[citation needed]

However, in Argentina, the $sign is always used for pesos, and if they want to indicate dollars, they always write U$S 5 or US$5 (5 US dollars). In the United States, Mexico, Australia, Argentina, New Zealand, Hong Kong, Pacific Island nations, and English-speaking Canada, the dollar or peso symbol precedes the number, unlike most currency symbols. Five dollars or pesos is written and printed as$5, whereas five cents is written as 5¢. In French-speaking Canada, the dollar symbol usually appears after the number (5$), although it sometimes appears in front of it, or instead may even be totally absent. ## Other uses The dollar sign is also used in library cataloging to represent subsections. Also, it is used derisively to indicate greed or excess money such as in "Micro$oft", "George Luca$", "Lar$ Ulrich", "Di$ney", and "GW$"; or supposed overt Americanization as in "$ky". In 1872, Ambrose Bierce referred to the California Governor as ₤eland$tanford. The dollar sign is also used intentionally to stylize names such as A$AP Rocky and Ke$ha.

In Scrabble notation, a dollar sign is placed after a word to indicate that it is valid according to the North American word lists, but not according to the British word lists.[17]

## Notes

1. ^ Lawrence Kinnaird (July 1976). "The Western Fringe of Revolution," The Western Historical Quarterly 7(3), 259.
2. ^ "Origin of Dollar Sign is Traced to Mexico", Popular Science 116 (2), 1930: 59, ISSN 0161-7370
3. ^ Florian Cajori ([1929]1993). A History of Mathematical Notations (Vol. 2), 15-29.
4. ^ Arthur S. Aiton and Benjamin W. Wheeler (May 1931). "The First American Mint", The Hispanic American Historical Review 11(2), 198 and note 2 on 198.
5. ^ Nussbaum, Arthur (1957). A History of the Dollar. New York: Columbia University Press. p. 56. "The foreign coins remained in circulation [in the United States], and the more important among them, especially the Spanish (including the Mexican) dollars, were declared by Congress on February 9, 1793, to be legal tender. The dollar sign, $, is connected with the peso, contrary to popular belief, which considers it to be an abbreviation of 'U.S.' The two parallel lines represented one of the many abbreviations of 'P,' and the 'S' indicated the plural. The abbreviation '$.' was also used for the peso, and is still used in Argentina."
6. ^ Riesco Terrero, Ángel (1983). Diccionario de abreviaturas hispanas de los siglos XIII al XVIII: Con un apendice de expresiones y formulas juridico-diplomaticas de uso corriente. Salamanca: Imprenta Varona, 350. ISBN 84-300-9090-8
7. ^ Bureau of Engraving and Printing. "'What is the origin of the $sign?' in FAQ Library". Retrieved December 14, 2010. 8. ^ F. Cajori discusses the origins of the slash-8, the Potosi mint mark, the Pillars of Hercules, the "U.S.", the Roman sestertius, and the Boaz and Jachin theories and discounts them in A History of Mathematical Notations (Vol. 2), 15-20. 9. ^ Gettings, Fred (1981). The Dictionary of Occult, Hermetic, and Alchemical Sigils and Symbols. London: Routledge & Kegan Paul Ltd. p. 86. ISBN 0-7100-0095-2. 10. ^ James, James Alton (1970) [1937]. Oliver Pollock: The Life and Times of an Unknown Patriot. Freeport: Books for Libraries Press. p. 356. ISBN 978-0-8369-5527-9. 11. ^ James, James Alton (1929). "'Oliver Pollock, Financier of the Revolution in the West'.". The Mississippi Valley Historical Review. 12. ^ Pub. L. No. 109-145, 119 Stat. 2664 (Dec. 22, 2005). 13. ^ Cuhaj, p. 100, 321-22 14. ^ "Large denominations of United States currency -$1,000 bill". Wikipedia. Retrieved 24 October 2012.
15. ^ "Large denominations of United States currency - $100,000 bill". Wikipedia. Retrieved 24 October 2012. 16. "Dollar Sign ($)" (PDF). Retrieved 2010-03-28. (Note: this paper essentially reproduces an older version of this Wikipedia article.)
17. ^ "Scrabble Glossary". Tucson Scrabble Club. Retrieved 2012-02-06.