[*] BO : #PSCFV-2671 : Added a new currency format for Switzerland

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16324 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-07-11 08:20:23 +00:00
parent 9e5da97084
commit 2016c46568
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -499,6 +499,10 @@ class ToolsCore
case 4:
$ret = number_format($price, $c_decimals, '.', ',').$blank.$c_char;
break;
/* 0 000.00 X Added for the switzerland currency */
case 5:
$ret = number_format($price, $c_decimals, '.', ' ').$blank.$c_char;
break;
}
if ($is_negative)
$ret = '-'.$ret;