Rounding price

  • Author
    Posts
  • #106042

    axel29
    Participant

    Hello,

    could you help us how to set up rounding converted product prices to zero decimals?

    For example one product with base price 29,95 EUR is converted with 25.399 rate to 628.68 CZK. Can it be converted to 629 CZK? It is important to store that values to db so it will be also in WC api and other places.

    When we set up number of decimals to zero, it only cuts off decimals which leads to incorrect total price of order and other values in order detail which is calculated with decimals.

    Thank you

You must be logged in to see replies to this topic. Click here to login or register