Page 1 of 1

Math operator

PostPosted: Sat Apr 18, 2015 11:05 am
by John Robin Dove
Hi,

I want to round a number to one decimal. How would I do this in the actions editor please? Example I want 205.397301349325 to be reduced to 205.4. Apologies for my ignorance!

Re: Math operator

PostPosted: Sat Apr 18, 2015 12:25 pm
by Clifton
In the actions editor you would write:

round ( val * 10 ) / 10

Just multiply and then divide by the number of decimal places needed.

Re: Math operator

PostPosted: Sun Apr 19, 2015 4:38 am
by John Robin Dove
Thank you.