Round it up? Trim?
-
Hi.
i have to admit this is the best plugin ever created so far for currencies in WordPress.
I’m using it in a new hotel website and it automatically converts USd to all the desired currencies. Simply Amazing!
Now.. my question is: is it possible to trim or round it up the result in order to avoid cents? Let’s say I want to convert USD 10 to EUR. Is it possible to have the result to 7 EUR instead of 7.30?
Basically, I need to round it up to the nearest natural number. If the result has cents and are up to .50, go down. If it’s more than .50, go up.
7.30 = 7
7.51 = 8Thanks,
Daniel
The topic ‘Round it up? Trim?’ is closed to new replies.