[-] BO : #PSCFV-3670 : add a new format of currency in JS files

This commit is contained in:
lLefevre
2012-08-29 14:52:47 +00:00
parent d54d31463c
commit ef1f4bde50
3 changed files with 7 additions and 1 deletions
+2
View File
@@ -73,6 +73,8 @@ function formatCurrency(price, currencyFormat, currencySign, currencyBlank)
return (currencySign + blank + formatNumber(price, priceDisplayPrecision, '.', ','));
if (currencyFormat == 4)
return (formatNumber(price, priceDisplayPrecision, ',', '.') + blank + currencySign);
if (currencyFormat == 5)
return (formatNumber(price, priceDisplayPrecision, ' ', '.') + blank + currencySign);
return price;
}