Suppression de l'arrondit du produit

This commit is contained in:
Rodolphe Quiedeville 2004-11-27 16:33:04 +00:00
parent 97fcf149e7
commit 1440a20292

View File

@ -112,7 +112,6 @@ class Product
{
$this->price = 0;
}
$this->price = round($this->price, 2);
$sql = "INSERT INTO ".MAIN_DB_PREFIX."product (datec, fk_user_author, fk_product_type, price)";
$sql .= " VALUES (now(),".$user->id.",$this->type, " . ereg_replace(",",".",$this->price) . ")";