Page 1 of 1

Form conditions and calculations

Posted: Mon Jun 15, 2020 7:47 pm
by miguelss
Hi everybody,

I'm playing with the "Form conditions and calculations" and it awesome!! Congrats @Pablo!
But, it is possible to limit the number of decimals on the end results?

I mean, when I create some calculation, the result has more than 10 decimals!!.
Thanks for the valuable help of this community!

Re: Form conditions and calculations

Posted: Mon Jun 15, 2020 7:59 pm
by Pablo
You can use standard JavaScript functions in calculations.

For example:

Code: Select all

String(Number([A]) / Number([B])).toFixed(2))

Re: Form conditions and calculations

Posted: Mon Jun 15, 2020 8:08 pm
by miguelss
Thanks a lot Pablo!
It works perfectly!!!
You have another beer into your account :lol: