[*] BO : #PSCFV-2671 : Added a new currency format for Switzerland
This commit is contained in:
1 parent
739a5fe6fd
commit
58e35f3da8
2 files changed
+6
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user