Answer the question
In order to leave comments, you need to log in
Rounding prices to the hundreds?
Hello
Is it possible to round up the price indicated in dollars when converting to rubles on the site, do not violate the standard CMS logic?
Example:
When we indicate the price - $ 449 on the site when choosing the ruble currency - 29185 rubles. (at the rate of 65 rubles per dollar), but you need to round this figure - 29200 rubles.
Answer the question
In order to leave comments, you need to log in
Realistically, this is not a problem. But it is unlikely that someone will tell you something specific without additional information. Try using the round function with appropriate parameters php.net/manual/ru/function.round.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question