// Stock & StockMvt : added round()

This commit is contained in:
bMancone
2011-10-18 12:11:31 +00:00
parent f525bfb3e4
commit 5ac3b67271
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class StockCore extends ObjectModel
$fields['id_product_attribute'] = (int)$this->id_product_attribute;
$fields['physical_quantity'] = (int)$this->physical_quantity;
$fields['usable_quantity'] = (int)$this->usable_quantity;
$fields['price_te'] = (float)$this->price_te;
$fields['price_te'] = (float)round($this->price_te, 6);
$fields['id_currency'] = (int)$this->id_currency;
return $fields;
}