How to round prices and odds

Rounding brings numerical values to the required accuracy: to whole numbers, to kopecks, to tens, or according to the recipient’s rules.

Rounding brings numerical values to the required accuracy: to whole numbers, to kopecks, to tens, or according to the recipient’s rules.

How to round prices and odds — Eofferix
Eofferix interface screenshot: How to round prices and odds

When to use

Use it after markup, currency factor, package conversion or importing prices from different sources.

How to set up

  1. Make sure the field is recognized as a number.
  2. Add a mathematical conversion if you need to multiply or add a value.
  3. Add rounding and select precision.
  4. Check for negative, zero and fractional values.
  5. Compare some examples with manual calculations.

What will happen

Prices and odds will look the same and will not cause any loading errors.

What is important to remember

  • It is better to do rounding after all mathematical operations.
  • For financial data, it is important to choose a rounding rule in advance.