Currency name before and after value

From: Date: Sun, 14 Apr 2013 06:51:55 +0000
Subject: Currency name before and after value
Groups: php.general 
Request: Send a blank email to php-general+get-320844@lists.php.net to get a copy of this message
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.

« previous php.general (#320844) next »