Looking for some advice. I have some calculat...

(Jesse Prud'Homme) #1

Looking for some advice. I have some calculations going on in some of my view display names to make the view name more helpful at a glance. In some cases, the view name calculates a price. The issue I’m having is a small but annoying one: the result isn’t showing the correct number of decimal places (i.e. $120.5 should show as $120.50). Is there a function I can use to ensure the result has 2 decimal places?

(Aleksi Alkio) #2

Have you checked your price column’s definition? You can choose how many decimals it will show. The option name is “Decimal digits”.