WordPress.org

Forums

Currencyr
Round it up? Trim? (1 post)

  1. pepeupepeu
    Member
    Posted 1 year ago #

    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 = 8

    Thanks,
    Daniel

    https://wordpress.org/plugins/currencyr/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic