Currency name before and after value

[email protected] (Rafnews)
Newsgroups php.general
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.