Hacker News new | ask | show | jobs
by Sami_Lehtinen 4136 days ago
Well, one of the reasons is that it depends from country and language. I would outright say that your Euro format is wrong. Yet it isn't that simple. I'm used to write 1,23 € and euros work fine if written as 1,23 if I write 1.23 then it's a string. Just strip euro signs and put numbers. There are also plenty of systems which can't handle unicode so using € sign is bad idea. See: http://en.wikipedia.org/wiki/Linguistic_issues_concerning_th...
2 comments

> I would outright say that your Euro format is wrong

It's not. See: http://publications.europa.eu/code/en/en-370303.htm

I never understood why some countries insist to write currency type before the amount. It is weird and inconsistent among multiple currencies. Would be way better to write every numeric value before its type like in physics, though I suspect physics also may have some strange rules somewhere :) .
Agree. Even the spoken form (at least in the languages I know) is formated this way: You say "ten euros" and not "euros ten". I'd be curious to know why it was decided to write it the other way around.
The prefixed currency symbol makes it trivial to detect attempts to insert digits on the large denomination side.
Isn't '£' unicode?
Both £ and € are in ISO8519-15