// migrate orders does not use constant
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12699 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
abfeef382b
commit
863069f098
1 file changed
+2
-2
@@ -148,9 +148,9 @@ function mo_ps_round($val){
|
|||||||
|
|
||||||
switch ($ps_price_round_mode)
|
switch ($ps_price_round_mode)
|
||||||
{
|
{
|
||||||
case PS_ROUND_UP:
|
case 0:
|
||||||
return ceil($val * 100)/100;
|
return ceil($val * 100)/100;
|
||||||
case PS_ROUND_DOWN:
|
case 1:
|
||||||
return floor($val * 100)/100;
|
return floor($val * 100)/100;
|
||||||
default:
|
default:
|
||||||
return round($val, 2);
|
return round($val, 2);
|
||||||
|
|||||||
Reference in new issue
Block a user