News for hackers. Stuff that matters.
Re:Why Is the Dollar Sign a Letter S? by JimboOmega on Sunday February 08, 2015 @03:43PM (#9018480)
What I'd like to know more is why it goes before the quantity and not after.

Nobody writes "it weighs lb. 10" or "it's m 20 long". Or even "I had %20 of it".

Subconsciously I always read "$10" as "dollar ten". It drives me a little crazy.

Re:Why Is the Dollar Sign a Letter S? by DanBC on Sunday February 08, 2015 @04:22PM (#9018630)
Especially since in American you'd write 10c, and not c10.

There's a stack exchange comment saying it's harder to forge $20 to $320 than it is to forge 20$ to 320$.

http://english.stackexchange.com/questions/11326/what-is-the...

http://english.stackexchange.com/questions/34013/why-is-the-...

I'd like to know why we do it too. I mean, I know "just because" but I'd like to know how it started.

Re:Why Is the Dollar Sign a Letter S? by stephentmcm on Sunday February 08, 2015 @07:16PM (#9019149)
The forging statement seems rather silly. $20 -> $200 is still a pretty good mark up, plus in cheques or similar paper based money transfers it's normal to have the amount written out in words as well as in numerals.
Re:Why Is the Dollar Sign a Letter S? by kijin on Sunday February 08, 2015 @09:36PM (#9019497)
You can't easily change $20.00 to $200.00. You could try changing it to $20.000.00, but that would probably overflow whatever box it's written in, since the amount is usually right-justified to begin with.

The decimal point protects the right edge of the amount, while the dollar sign protects the left edge.

Similarly, when people write out a number in English on a check, they often write "Twenty dollars only", not just "Twenty dollars", in order to prevent other words from being added to the end, e.g. "Twenty dollars and a hundred". (There's a nursery rhyme that goes "four and twenty blackbirds", so writing the smaller number first is clearly not unheard of.)

Re:Why Is the Dollar Sign a Letter S? by roel_v on Monday February 09, 2015 @05:10AM (#9020451)
For anything under 100, in German and Dutch the least significant number goes first: one and thirty, eight and ninety. 100 and above goes before that, so 121 is 'one hundred one and twenty'. The nursery rhyme might be inspired by that, or maybe there was something similar in English back in the day, but either way - I'd say it's highly unusual to put those numbers in that order in English.
Re:Why Is the Dollar Sign a Letter S? by ptaipale on Monday February 09, 2015 @07:26AM (#9020800)
This is getting tangential, but the French way of counting seems to be even more strange with certain numbers. 93 is "quatre-vingt-treize", i.e. "four-twenties-and-thirteen".

(Except in Belgium and Switzerland and this-one-valley-in-Italy et cetera, where it is just "nonante-trois".)

Compared to that, "drei-und-neunzig" is still not bad.

Re:Why Is the Dollar Sign a Letter S? by cafard on Wednesday February 11, 2015 @12:45PM (#9034250)
Apparently it was common in the south as well. Some writer who was fined in the 19th Century then lampooned the magistrate as "Monsieur Nonante-Cinque", the fine having been 95 francs.
Re:Why Is the Dollar Sign a Letter S? by throwaway90999 on Monday February 09, 2015 @11:18AM (#9021918)
It is also common to write cents/fractions either as superscript, superscript with a line below the cents value, or as a full fraction 99/100
Re:Why Is the Dollar Sign a Letter S? by nhaehnle on Sunday February 08, 2015 @08:45PM (#9019367)
There's a stack exchange comment saying it's harder to forge $20 to $320 than it is to forge 20$ to 320$.

This is why you fill the empty part of the field with a long horizontal line.

Re:Why Is the Dollar Sign a Letter S? by zymhan on Monday February 09, 2015 @07:32AM (#9020828)
I always just write the change in a xx/100 format, which would make it obvious if someone else filled in more numbers.

Was this really a problem at some point? My friends have told me about it, but my parents never bothered to mention it to me growing up.

Re:Why Is the Dollar Sign a Letter S? by jmccree on Sunday February 08, 2015 @04:49PM (#9018721)
From a quick google image search, it appears that at least some EU checks also follow the format of putting the currency symbol before the numerical amount. It makes sense on the face of things that $200.00 is harder to alter than 200.00$ .
Re:Why Is the Dollar Sign a Letter S? by kleiba on Sunday February 08, 2015 @04:53PM (#9018742)
that $200.00 is harder to alter

Luckily, though, it is common to use commas to separate groups of three digits: $200,000.00 But this means a change of a factor 1000 which might be less useful than the original 20$ -> 320$ example.

Re:Why Is the Dollar Sign a Letter S? by spacecowboy_lon on Monday February 09, 2015 @04:02AM (#9020268)
That depends on locale other countrys do not use commas as separators in the same way
Re:Why Is the Dollar Sign a Letter S? by reacweb on Monday February 09, 2015 @05:32AM (#9020519)
As a european, my feeling is that we are more and more copying american way of using $ when we use €.
Re:Why Is the Dollar Sign a Letter S? by yourapostasy on Sunday February 08, 2015 @08:41PM (#9019352)
The forging rationale is likely very outdated now.

If I have a legal document where I need to be certain of its provenance after going out into the world, it is a digitally signed PDF.

If I print a paper check where the numbers need to be tamper-resistant against casual forging, I use a secure number font. I don't anticipate ever being in a position where my adversary in that use case is a determined, professional forger. I'd insist upon encrypted and/or insured electronic transactions, like through SWIFT or ACH, before I get to the point I'd be worried about professional forgers.

Re:Why Is the Dollar Sign a Letter S? by kijin on Sunday February 08, 2015 @09:41PM (#9019514)
Sure, it's outdated now, but habits of accounting tend to die hard.

In Chinese, some characters representing numbers are so trivially forgible by adding a stroke or two (1 = 一, 2 = 二, 3 = 三, 10 = 十, 1000 = 千) that accountants came up with complicated substitutes that cannot be altered to mean any other number (1 = 壹, 2 = 贰, 3 = 叁, 10 = 拾, 1000 = 仟). The substitutes are still widely used in legal and financial documents.

Re:Why Is the Dollar Sign a Letter S? by tim333 on Sunday February 08, 2015 @10:41PM (#9019623)
Also semi professional forging of paper documents still goes on. See Paul Ceglia vs Facebook for an entertaining example.

eg http://www.independent.co.uk/news/business/news/facebooks-ma...

Re:Why Is the Dollar Sign a Letter S? by ScottBurson on Sunday February 08, 2015 @07:19PM (#9019159)
If you want to amuse yourself, count the times you see people write things like "$10 dollars". It's quite common. Technically it should mean 10 square dollars, whatever that is.

Years ago an acquaintance of mine told me about a bad experience he had had with some cell company's customer service. It seems that the contract he had received had said that he would be charged for data service at the rate of ".02¢/kilobyte". (This was in the very early days of cellular data, so prices weren't well established, and I'm probably not remembering the correct number, but as you'll see, that's not the point.) When the bill came, he found that he was in fact charged 2¢/kB -- 100 times more than he expected. He called to complain, but was unable to communicate to the customer service agent that, correctly read, .02¢ = $.0002. The agent apparently looked at the notation ".02¢" and read it as "$.02".

One can understand the psychology of this. The notation ".02¢" contains two indications that the value 2 is to be multiplied by 1/100: one is given by the position of the decimal point, and the other by the use of the cent sign instead of the dollar sign. But if you read those two indications as redundant rather than independent, you get the interpretation used by the agent (and apparently also by the person who wrote the contract).

So I would suggest that the "$10 dollars" thing is not as benign as it appears. Mathematical notation is not supposed to have redundancies in it, and we should not get used to seeing them there -- particularly when money is involved.

Re:Why Is the Dollar Sign a Letter S? by grkvlt on Sunday February 08, 2015 @07:41PM (#9019219)
I think your friend was actually trying to tell you about this story [1] not something that actually happened to them.

[1] http://verizonmath.blogspot.co.uk/2006/12/verizon-doesnt-kno...

Re:Why Is the Dollar Sign a Letter S? by ScottBurson on Sunday February 08, 2015 @07:51PM (#9019250)
Possibly. As I recall, he was pretty upset about it, which seems to suggest it happened to him -- but it was a long time ago, and we all know memory is a funny thing.
Re:Why Is the Dollar Sign a Letter S? by jbuzbee on Sunday February 08, 2015 @08:53PM (#9019395)
"we all know memory is a funny thing." - Yeah, tell that to Brian Williams - rim-shot :-)
Re:Why Is the Dollar Sign a Letter S? by StavrosK on Monday February 09, 2015 @08:28AM (#9021008)
The exact same thing happened to me, in Greece. There are more than one person who have been affected by this :P People are just bad at math.
Re:Why Is the Dollar Sign a Letter S? by whichfawkes on Sunday February 08, 2015 @07:46PM (#9019232)
Maybe his acquaintance has a blog?
Re:Why Is the Dollar Sign a Letter S? by SilasX on Sunday February 08, 2015 @08:58PM (#9019410)
>If you want to amuse yourself, count the times you see people write things like "$10 dollars". It's quite common. Technically it should mean 10 square dollars, whatever that is.

Not quite the same thing, but I had a senile biology teacher who looked for any pretense to deduct points on papers. For example, when you reported data from lab work in tabular form: "points off -- these numbers don't have units". "But the column headings indicate the units -- that would make it redundant!" "Not good enough."

Re:Why Is the Dollar Sign a Letter S? by thornygreb on Monday February 09, 2015 @10:33AM (#9021635)
One of my first jobs, I was tasked with spray painting the price (99 cents each) of landscape timbers on a big pile of uh, landscape timbers. I painted '.99 c', and my boss said, you just gave them away for less than a penny. It is hard to un-spray paint a dot, lessen learned FOREVER.
Re:Why Is the Dollar Sign a Letter S? by eru on Monday February 09, 2015 @12:52AM (#9019872)
Actually, mathematical notation often has quite some redundancy. But yeah, you don't want to hunt it down in too many different places.
Re:Why Is the Dollar Sign a Letter S? by jzwinck on Sunday February 08, 2015 @07:21PM (#9019163)
The British put their currency symbol in front as well.

Malaysians write theirs like "RM8"; RM being their local currency symbol despite the ISO one being MYR (this happens because ISO puts the country first but many countries would write it out the other way around).

A bunch of other countries don't write any symbol at all, only the number. Some, like Indonesia, also have an implied thousands (000) at the end, since their base currency unit is very small. So you may see "8" but it means "8000 IDR."

Re:Why Is the Dollar Sign a Letter S? by FreeFull on Sunday February 08, 2015 @10:24PM (#9019595)
For another example of a currency where the symbol does go on the right end, there is the Polish currency (złoty). For example, "5,99 zł" (although often the zł will be skipped)
Re:Why Is the Dollar Sign a Letter S? by blahedo on Sunday February 08, 2015 @06:20PM (#9019002)
I worked for a summer in the text-to-speech lab at Motorola and remember banging my head on this problem---especially because something like "$2 million" or even "$2m" has to get rewritten for the speech engine. It's like a middle-endian notation.
Re:Why Is the Dollar Sign a Letter S? by dorfsmay on Sunday February 08, 2015 @07:48PM (#9019238)
I came to the comment section exactly for this. I've fought with my kids and showed them unit algebra (5$/day for 3 days:(53)($day/day) = 15$) to explain why all units need to be behind the numbers. They got it, but then got in trouble in school (in Canada). Dollar sign HAS to be in front - Why? Because that's how it's done.
Re:Why Is the Dollar Sign a Letter S? by aroberge on Sunday February 08, 2015 @08:51PM (#9019390)
In French schools in Canada, the proper notation (e.g. 5$) is used.
Re:Why Is the Dollar Sign a Letter S? by douche on Monday February 09, 2015 @05:41AM (#9020531)
Yet not in listed prices at stores or restaurants, at least so far as I have ever experienced in Quebec.
Re:Why Is the Dollar Sign a Letter S? by libria on Sunday February 08, 2015 @04:22PM (#9018626)
Infuriatingly, we write 10¢ in the "right" order.
Re:Why Is the Dollar Sign a Letter S? by mkramlich on Sunday February 08, 2015 @08:39PM (#9019342)
I hear you. but do what I and some others are doing. wherever you can get away with it put the $ after, as in "10$". let's be the change we wish to see in the world. I also try to express dates in sort-friendly format wherever I can, like "2015 Feb 7" (or 20150207 if computer must parse or align, etc). I also express measurements in metric/SI wherever I can. I also never bought into this whole "put TL;DR at the end" anti-pattern I see some folks doing (assume young) when I can continue to have a "summary: foo" at the beginning, which is clearly better in two particular ways.

one could argue that "10 USD" is even better overall, with the negative of requing two extra chars.

Re:Why Is the Dollar Sign a Letter S? by gnopgnip on Sunday February 08, 2015 @09:13PM (#9019450)
Wouldn't this just take even longer to pass information because you are not using the expected format?
Re:Why Is the Dollar Sign a Letter S? by mkramlich on Sunday February 08, 2015 @11:35PM (#9019753)
note my choice of words "wherever you can get away with it" :-)

because I do take those situations into account. if it would cause a problem with others I don't do it. in my own notes or when dealing with others whose brains I know can handle it, I do.

Re:Why Is the Dollar Sign a Letter S? by blackobelisk on Sunday February 08, 2015 @04:06PM (#9018567)
sometimes I actually format it "10$" and it weirds people out. makes sense to me though.
Re:Why Is the Dollar Sign a Letter S? by xxxyy on Sunday February 08, 2015 @04:29PM (#9018652)
Don't mean to offend anyone, but there are more issues with units in the US ;)

[0] http://www.joeydevilla.com/2008/08/13/countries-that-dont-us...

Re:Why Is the Dollar Sign a Letter S? by happyscrappy on Sunday February 08, 2015 @04:45PM (#9018707)
Your list of backwaters is cute, if the US used only metric they would be even more dominating of the entire planet, which I doubt you would like.
Re:Why Is the Dollar Sign a Letter S? by acadien on Sunday February 08, 2015 @04:16PM (#9018600)
It really makes no sense, every other unit follows the number but with money it goes before. The temperature outside is F10, that package weights lbs14, the football is at psi1.8.
Re:Why Is the Dollar Sign a Letter S? by vacri on Monday February 09, 2015 @01:08AM (#9019905)
Sparrow missiles are pretty fast - they go at 2.5 Mach. I tried to take a photo, but it was too washed out as my stop was set at 32f. I was so angry with the camera, I dissolved it in my acid bath, which was 1.4pH.

That'll teach me, I guess, for taking photos near Area 51 :)

Re:Why Is the Dollar Sign a Letter S? by acadien on Monday February 09, 2015 @12:57PM (#9022538)
I'm not sure that mach and pH are units per say. pH for example is on a nonlinear scale and mach itself is unitless. Maybe that's totally irrelevant.

I guess its fruitless to try and apply logic to language and better to just accept the general usage?

Re:Why Is the Dollar Sign a Letter S? by vacri on Monday February 09, 2015 @05:26PM (#9024190)
You may have nailed it - apart from 'area 51', which is a proper name (and whose order I messed up to make the joke, unfortunately), the others are all ratios, not discrete units.

On the other hand, it's also worth noticing that scientific units come from science, but monetary units come from finance. The regularised SI system is only a couple of hundred years old, and ledger entries are much older. My guess is that merchants in ye olde Europe had to deal with a variety of currencies, and putting the currency first was convention. It may have also made it clearer in a manifest as to which column was cost and which was amount, in an era when weights and measures were highly varied. Absolutely no supporting data for this, just a hunch :)

Re:Why Is the Dollar Sign a Letter S? by yitchelle on Sunday February 08, 2015 @04:19PM (#9018617)
In Europe, it is acceptable to put the € symbol after the digits as in 10,67€. Just putting in a contrast here..
Re:Why Is the Dollar Sign a Letter S? by DangerousPie on Sunday February 08, 2015 @07:31PM (#9019193)
"Acceptable" is not really the right word here - in most (all?) EUR countries it is actually the norm.
Re:Why Is the Dollar Sign a Letter S? by barrystaes on Monday February 09, 2015 @03:42AM (#9020219)
Not in my experience.. The europeans i know usually write € 123,40. Granted in advertisements and billboards you'll often see the € sign suffixed in small, or just left out entirely, but i dont base my norm on advertisements.

When suffexed, i mostly see "EUR" or "EURO" used instead of the € symbol: 123,40 EUR.

Re:Why Is the Dollar Sign a Letter S? by masklinn on Monday February 09, 2015 @05:49AM (#9020548)
> Not in my experience.. The europeans i know usually write € 123,40.

Your experience is a minority, and most likely sourced in a country which doesn't use the Euro as its currency (like the UK)

By and large, European locales (this is orthogonal to language) put the € sign at the same place they put their previous currency signs, and for most of them it's after: the Dutch, Austrians, Cypriots, Irish, Liechtensteiner, Latvian and Maletese use the prefix form, everybody else uses postfix (about 80% of EU population, slightly more than that wrt Euro-using countries as the UK amounts for 12.5% of the EU population but doesn't use the Euro)

See http://en.wikipedia.org/wiki/Linguistic_issues_concerning_th... for a reasonably complete table.

Re:Why Is the Dollar Sign a Letter S? by pluma on Monday February 09, 2015 @09:41AM (#9021327)
That table claims it follows the value in Germany, that is not entirely correct.

Colloquially, EUR values are expressed with the currency symbol following the value, but in nearly all business correspondence (i.e. invoices, contracts, etc), it is actually prefixed and in many cases (likely for historical compatibility reasons) spelled out.

In other words, in day-to-day use you'd likely see this:

123,40 €

In more formal situations and invoices you'd expect this:

EUR 123,40

I'm not sure whether this split pre-dates the Euro. I recall seeing "DM 123,40" before the Euro, but I was too young to pay much attention to that kind of thing. Most signage used "123,40 DM" or even "12 Pf." (for Pfennig, the equivalent of cents) or left it off entirely, I think.

Re:Why Is the Dollar Sign a Letter S? by gambiting on Sunday February 08, 2015 @04:49PM (#9018719)
For Polish currency you also put the "zł" symbol after the price(50zł). Absolutely never ever before the price.
Re:Why Is the Dollar Sign a Letter S? by hk__2 on Sunday February 08, 2015 @04:30PM (#9018654)
This is how we write it in French (3.14€ instead of €3.14).
Re:Why Is the Dollar Sign a Letter S? by arthurfm on Monday February 09, 2015 @02:40AM (#9020088)
In the UK we place the € symbol before the digits when referring to European prices (probably because the £ symbol is also placed before the digits).
Re:Why Is the Dollar Sign a Letter S? by caf on Sunday February 08, 2015 @04:34PM (#9018673)
Years are another one like dollars, though: C20 is sometimes used for "20th Century" and it's not uncommon to see a year written as AD2015.
Re:Why Is the Dollar Sign a Letter S? by jrochkind1 on Sunday February 08, 2015 @05:38PM (#9018884)
Of course "AD" is Latin, and the AD2015 order is probably appropriate for Latin.

I wonder if $20 comes from the appropriate order for Spanish, now that I know the $ symbol comes from Spanish!

Re:Why Is the Dollar Sign a Letter S? by caf on Sunday February 08, 2015 @06:59PM (#9019096)
My guess is that it comes from the order typically used for ledgers, which is Description followed by Quantity. So you might have a ship's manifest with entries like:

  | sacks of barley          |    130 |
  | kegs of wine             |     12 |
  | pesos de ocha            |  2,800 |
So the abbreviation Ps starts out on the left-hand-side too.
Re:Why Is the Dollar Sign a Letter S? by marcosdumay on Sunday February 08, 2015 @07:21PM (#9019164)
Nope. In Latin languages the number comes before the period (2015 DC). That was a hard detail of English to learn...

But in about any language the currency symbol comes before the number.

Re:Why Is the Dollar Sign a Letter S? by dragonwriter on Sunday February 08, 2015 @06:12PM (#9018977)
> Of course "AD" is Latin, and the AD2015 order is probably appropriate for Latin.

It'd be just as appropriate if Anno Domini was translated into English.

Re:Why Is the Dollar Sign a Letter S? by narag on Sunday February 08, 2015 @08:48PM (#9019377)
Funny: when movies in English are dubbed to Spanish, the Latin expression is expanded and translated also, placed before the number: "era el año del Señor 1212 cuando...". It sounds good as if it were an archaism (the normal way of speaking is "1212 después de cristo" or 1212 DC).