How to force a calculation always to use 2 decimals?

I have an angle calculation for a text field of:

((round((2+(sin(rad(#DWFSS#*2-30))*5))*100))/100)

now sometimes when the value hits ‘3’ it displays ‘3’. How can I force it to always display 2 decimal points - meaning ‘3.00’ so that the length of the text field is always constant (x.xx) and does not jump around?

Thanks so much in advance!

1 Like

If you look at the bottom of the screen when using Text you will see there ar 3 different types of Text Justification. Then we have toFixed(xxxxxxx,2)

There is also pad(xxxxx,2) which gives a Leading Zero ti single digits. Sadly we can not nest them.

Hell @russellcresser - yes, this one is a little tricky one and I just might have to play around with it a little… but thanks for all your support!