I am developing a shopping cart and displaying russian rubles using this number format:
number_format($price, 0, ',', ' ');//Example 15 525 instead of 15525
Now, when I add the subtotal with the shipping cost
For example:
Subtotal :61 305
Shipping: 8 250
I get following result
69 instead of 69 555
How can I add them correctly using the number format above?