[-] BO : #PSTEST-8 : Javascript - Rounded prices (2 digits only)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11362 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fGaillard
2011-12-19 14:42:23 +00:00
parent 4d8db42292
commit 8dff8f9969
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ virtual_product_nb_days, is_shareable)
getE('attribute_upc').value = upc;
getE('submitProductAttribute').value = modifyattributegroup;
getE('attribute_wholesale_price').value = Math.abs(wholesale_price);
getE('attribute_price').value = Math.abs(price_impact);
getE('attribute_price').value = Math.round(Math.abs(price_impact)*100)/100;
getE('attribute_weight').value = Math.abs(weight_impact);
getE('attribute_unity').value = Math.abs(unit_impact);
if ($('#attribute_ecotax').length != 0)