// #PSTEST-457

This commit is contained in:
bMancone
2012-01-17 14:20:24 +00:00
parent 90df3ad41c
commit b808bb2598
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;
}
}