Magento displays floating prices when you configure multi-currency for different countries or set up discounts. In both cases, prices are displayed with decimals which is not very appealing.
So, to make prices more "clean" and provide a better shopping experience you should round off prices in Magento 2.
Usually, you'll have to do this programmatically, but not with the Magento 2 Currency Switcher. Except for switching currency automatically based on customers' geolocation, this tool provides multiple rounding algorithms.
However, before we configure this option, don't forget to configure currency rates.
To round off prices in Magento 2:
- Go to Stores > Configuration > Magefan Extensions > Auto Currency Switcher.
- Enable the Round Prices options and
- Select the Round Algorithm.
You can choose any from the available algorithms:
Round (16.3 -> 16.00, 16.5 -> 17.00)
Ceil (16.3 -> 17.00, 16.5 -> 17.00)
Round 10 (14.3 -> 8.00, 17.5 -> 20.00)
Ceil 10 (14.3 -> 17.00, 17.5 -> 20.00)
Round .99 (16.3 -> 15.99, 16.5 -> 16.99)
Ceil .99 (16.3 -> 16.99, 16.5 -> 16.99)
Round .95 (16.3 -> 15.95, 16.5 -> 16.95)
Ceil .95 (16.3 -> 16.95, 16.5 -> 16.95)
Once you finish, don't forget to Save Config and check the result on the storefront. Rounded prices are easier to skim through and just look better.
You can test different rounding algorithms on our live demo if you like to see what suits your customers better.