Forum Academy Marketplace Showcase Pricing Features

Rounding to 1 Broken

I can round a number to 0, 2, 3…and so on. However it will not display just 1 decimal.

Screen Shot 2021-08-26 at 11.54.56 PM
Screen Shot 2021-08-26 at 11.55.04 PM


Screen Shot 2021-08-26 at 11.55.39 PM

In your case 31.98 rounded to 1 decimal place becomes 32.0
Which is why it displays like that.

If you want just one decimal place to be visible, you should do that with the :formatted as option instead of the :rounded option

Cheers,
Ranjit | Blur Apps

This topic was automatically closed after 14 days. New replies are no longer allowed.