Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Interchange: Problem with [currency]



******    message to minivend-users from Stefan Hornburg <racke@linuxia.de>     ******


Hello, MV folk !

I noticed a problem with the current Interchange code. Prices are
displayed with the penny part always 0. I checked out the currency
function in Util.pm:

$amount = sprintf $fmt, $amount;

and I found this is the culprit. Additional debug statements
revealed that the LC_MONETARY and LC_NUMERIC are set to de_CH
which I'm not used in this catalog for sure, but within another.

Bye
        Racke

-- 
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Coding from hell and back <--- 
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: