// #PSTEST-457

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12481 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-01-17 14:20:24 +00:00
parent 48ce7d8c24
commit af2c6ce63e
5 changed files with 54 additions and 29 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ class SupplyOrderCore extends ObjectModel
// formats prices and floats
if ($this->def['fields'][$key]['validate'] == 'isFloat' ||
$this->def['fields'][$key]['validate'] == 'isPrice')
$value = number_format($value, 2);
$value = Tools::ps_round($value, 6);
$this->$key = $value;
}
}