• Resolved drealtee

    (@drealtee)


    I would like to have the prices of my products displayed in 2 decimal but rounded up to the first decimal. For example, a product price of 15.1234 should be displayed as 15.10 and a product price of 14.25178 should be displayed as 14.30. Any help will be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hi @drealtee

    WooCommerce has decimal settings via WooCommerce > Settings > General. Scroll down to the decimal setting (it’s the last one on the page). Unfortunately, it performs a regular rounding (15.12 in your example).

    I’m not sure if your requirements can be done with a 3rd part plugin. I haven’t seen one that does this, so you may require custom coding to do that.

    Thread Starter drealtee

    (@drealtee)

    I know of the woocommerce decimal setting. Just thought it was something that could be done with your plugin. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Round up prices to 1 decimal but display 2 decimal’ is closed to new replies.