# Dollar sign

$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 / octothorpe ( # ) 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 Template:Navbar 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 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.Template:Fact

#### 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.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} Alternatively, the$ symbol derives from the scroll on the pillar, on the reverse of the "pillar dollar" variety of pieces of eight.Template:Fact

#### Greek mythology

Another theory is that the dollar sign may have also originated from Hermes, the Greek god of bankers, thieves, messengers, and tricksters. One of his symbols was the caduceus, a staff from which ribbons or snakes dangled in a sinuous curve.Template:Fact

### Drawn with two vertical lines

The dollar sign drawn with two vertical lines is said to come from the Spanish coat of arms which showed the Pillars of Hercules with a banner curling between them(see below).

#### Spanish coat of arms

The Pillars of Hercules with a small "S" shaped ribbon around in the City of Seville, Spain (16th Century).

A common theory holds that it derives from the Spanish coat of arms engraved on the colonial silver coins, the reals, (among them the Spanish dollar) that were in circulation in Spain's colonies in America and Asia. Reals and Spanish dollars were also legal tender in the English colonies in North America, which later became part of the United States and Canada.

In 1492, Ferdinand II of Aragon adopted the symbol of the Pillars of Hercules and added the Latin warning Non plus ultra meaning meaning "nothing further beyond", indicating "this is the end of the (known) world." But when Christopher Columbus came to America, the legend was changed to Plus ultra: meaning "further beyond."

The symbol was adopted by Charles V and was part of his coat of arms representing Spain's American possessions. The symbol was later stamped on coins minted in gold and silver. These coins, depicting the Pillars of Hercules over two hemispheres and a small "S"-shaped ribbon around each, were spread throughout America, Europe and Asia. For the sake of simplicity, traders wrote signs that, instead of saying dollar or peso, had this symbol made by hand, and this in turn evolved into a simple S with two vertical bars.

#### From "U.S."

A dollar sign with two vertical lines could have started off as a monogram of 'USA', used on money bags issued by the United States Mint. The letters U and S superimposed resemble the historical double-stroke dollar sign : the bottom of the 'U' disappears into the bottom curve of the 'S', leaving two vertical lines. It is postulated from the papers of Dr. James Alton James, a professor of history at Northwestern University from 1897-1935, that the symbol with two strokes was an adapted design of the patriot Oliver Pollock in 1778.[9] Oliver Pollock was such a zealous patriot – known as the "Financier of the Revolution in the West" – that conjecture does not overstep its bounds in purporting this theory as viable.[10]

This theory is referred to by the character Owen Kellogg in Ayn Rand's novel Atlas Shrugged.Template:Fact

The dollar sign appears as early as 1847 on the $100 Mexican War notes and the reverse of the 1869$1000 United States note.[12][13] The dollar sign also appears on the reverse of the 1934 $100,000[14] note as well as the reverse of the 1917$1 note.{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[citation needed] }} ## Use in computer software 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.[15] Its uses in programming languages have often influenced or provoked its uses in operating systems, and applications.

The dollar sign "$" has Unicode code point U+0024 (inherited from Latin-1). There are no separate characters for one and two line variants. This is font dependent. ### 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).[15] •$ is used for defining hexadecimal constants in Pascal-like languages such as Delphi, and in some variants of assembly language.[15]
• $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.[15] 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.[15]
• $is used in the ALGOL 68 language to delimit transput format regions. •$ is used in the TeX typesetting language to delimit mathematical regions.[15]
• In many versions of FORTRAN 66, $could be used as an alternative to a quotation mark for delimiting strings.[15] • 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'.[15] • In Haskell,$ is used as a function application operator.[15]
• 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-agnosticTemplate:Dn, 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).[15]
$is used by the prompt command to insert special sequences into the DOS command prompt string.[15] • 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.[15] • 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.[15] ### Applications ## Currencies that use the dollar or peso sign {{#invoke:main|main}} 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 ${\displaystyle (\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. {{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[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).{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= {{#invoke:Category handler|main}}{{#invoke:Category handler|main}}[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.[16]

## Notes

1. Lawrence Kinnaird (July 1976). "The Western Fringe of Revolution," The Western Historical Quarterly 7(3), 259.
2. {{#invoke:citation/CS1|citation |CitationClass=citation }}
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. {{#invoke:citation/CS1|citation |CitationClass=book }}
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. Template:Cite web
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. {{#invoke:citation/CS1|citation |CitationClass=book }}
10. Template:Cite article
11. Pub. L. No. 109-145, 119 Stat. 2664 (Dec. 22, 2005).
12. Cuhaj, p. 100, 321-22
13. Template:Cite web
14. Template:Cite web
15. Template:Cite web (Note: this paper essentially reproduces an older version of this Wikipedia article.)
16. Template:Cite web

## References

• {{#invoke:citation/CS1|citation

|CitationClass=book }} - contains section on the history of the dollar sign, with much documentary evidence supporting the "pesos" theory.

• {{#invoke:citation/CS1|citation

|CitationClass=book }}

• {{#invoke:citation/CS1|citation

|CitationClass=book }} Template:Refend

1. REDIRECT Template:Currency symbols