Ion_Cannon Posted May 5, 2009 Share Posted May 5, 2009 In certain parts of the back office there are sometimes x.000000 decimals spaces at the end of a price in $. Why are these there? Is there any way to get rid of these and only have the normal 2 decimal places? Link to comment Share on other sites More sharing options...
babyewok Posted May 8, 2009 Share Posted May 8, 2009 Did you figure this out? Is there a way to round up/ down to the nearest 2 decimal places? Link to comment Share on other sites More sharing options...
Ion_Cannon Posted May 8, 2009 Author Share Posted May 8, 2009 I think I've found it. You have to edit the AdminProducts.php file for the back office catalog.Look for: value="'.$this->getFieldValue($obj, 'price').'" Replace with: value="'.money_format('%.2n',$this->getFieldValue($obj, 'price')).'" You will have to do something similar for each price. Link to comment Share on other sites More sharing options...
Recommended Posts