I am getting issue with magento format price by JS. This is not rounding correctly.
For example: A product has price $69.95 and catalog rule also applied on this. New special price comes after applied price rule is 54.955.
Now when i format this new special price using
optionsPrice.formatPrice(54.555). It returns $54.55 instead $54.56.
When I changed the value 54.556 or 54.5555, It is rounding correctly.