Changing Currency Format

Hi guys, ok first venture with Magneto.

Can someone advise how i can change the format of the currency in the prices?

I already have the currency set to what I want which is Rp.

Now i need to change it so the prices are like this 100,000 so 3 decimal places and a comma instead of a decimal point.


1 answer

Profile photo of James Weston 1370.00 $tone August 17, 2014

Ok I have solved how to get the 000 instead of 00 by finding the following:

Open code/core/Mage/Directory/Model/Currency.php
Find the following :-
public function format($price, $options=array(), $includeContainer = true, $addBrackets = false)
return $this->formatPrecision($price, 2, $options, $includeContainer, $addBrackets);

and changing the $price, 2, to $price, 3,


This question is now closed

Written By