From 5baf27d3ddd9bcaca38d8bc85f112daad4d08a3b Mon Sep 17 00:00:00 2001 From: mBertholino Date: Wed, 18 Jan 2012 13:56:01 +0000 Subject: [PATCH] [-] BO : #PSTEST-474 : bug fixed --- js/attributesBack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/attributesBack.js b/js/attributesBack.js index d7938eb38..6798f5530 100644 --- a/js/attributesBack.js +++ b/js/attributesBack.js @@ -52,7 +52,7 @@ virtual_product_nb_days, is_shareable) getE('attribute_ean13').value = ean; getE('attribute_upc').value = upc; getE('attribute_wholesale_price').value = Math.abs(wholesale_price); - getE('attribute_price').value = Math.abs(price_impact); + getE('attribute_price').value = ps_round(Math.abs(price_impact), 2); getE('attribute_weight').value = Math.abs(weight_impact); getE('attribute_unity').value = Math.abs(unit_impact); if ($('#attribute_ecotax').length != 0)