Re: Currency name before and after value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From wikipedia:
"According to the European Union<http://en.wikipedia.org/wiki/European_Union>'s
Publication Office,[5] <http://en.wikipedia.org/wiki/ISO_4217#cite_note-5>
in English <http://en.wikipedia.org/wiki/English_language_in_England>,
Irish<http://en.wikipedia.org/wiki/Irish_language>
, Latvian <http://en.wikipedia.org/wiki/Latvian_language> and
Maltese<http://en.wikipedia.org/wiki/Maltese_language>
 texts, the ISO 4217 code is followed by a fixed space and the amount:
a sum of EUR 30

In Turkish <http://en.wikipedia.org/wiki/Turkish_language>,
Bulgarian<http://en.wikipedia.org/wiki/Bulgarian_language>
, Czech <http://en.wikipedia.org/wiki/Czech_language>,
Danish<http://en.wikipedia.org/wiki/Danish_language>
, Dutch <http://en.wikipedia.org/wiki/Dutch_language>,
Estonian<http://en.wikipedia.org/wiki/Estonian_language>
, Finnish <http://en.wikipedia.org/wiki/Finnish_language>,
French<http://en.wikipedia.org/wiki/French_language>
, German <http://en.wikipedia.org/wiki/German_language>,
Greek<http://en.wikipedia.org/wiki/Greek_language>
, Hungarian <http://en.wikipedia.org/wiki/Hungarian_language>,
Italian<http://en.wikipedia.org/wiki/Italian_language>
, Lithuanian <http://en.wikipedia.org/wiki/Lithuanian_language>,
Polish<http://en.wikipedia.org/wiki/Polish_language>
, Portuguese <http://en.wikipedia.org/wiki/Portuguese_language>,
Romanian<http://en.wikipedia.org/wiki/Romanian_language>,
Sallan, Slovak <http://en.wikipedia.org/wiki/Slovak_language>,
Slovene<http://en.wikipedia.org/wiki/Slovene_language>
, Spanish <http://en.wikipedia.org/wiki/Spanish_language> and
Swedish<http://en.wikipedia.org/wiki/Swedish_language> the
order is reversed; the amount is followed by a fixed space and the ISO 4217
code:
une somme de 30 EUR"
I would say, just pick one and use it. People understand both ;)
- matijn


On Sun, Apr 14, 2013 at 8:51 AM, Rafnews <raf.news@xxxxxxxxx> wrote:

> Hi,
>
> I need to manage currency display in my program.
> I would like to know how can i do to detect if currency code/name should
> be placed before the amount/value or after.
>
> e.g.
> USD 1234,56 / USD -1234,56
> $ 1234,56 / $ - 1234,56
>
> 1234.56 EUR / -1234.56 EUR
> 1234.56 EUR / -1234.56 EUR
>
> i understood that "comma" or "dot" can be found using:
> setlocale(LC_MONETARY,'en_US')**;
> but how can i know if currency needs to have currency name before or after
> amount ?
> thx.
>
> A.
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux