goodmorals
asked on
Rounding Up in Acrobat javascript
Is there an equivalent of math.ceil to round up a number in Acrobat javascript?
I am multiplying .0212 by 5200, which produces 110.24
I want the result displayed in the textbox as a rounded-up whole number: 111
How would this be expressed?
Ordinarily these two numbers are variables in javascript code.
On the format tab in Text Field properties, would you set the number for 2 decimal places, so as to have something for the rounding to work on?
Thank you for your help.
I am multiplying .0212 by 5200, which produces 110.24
I want the result displayed in the textbox as a rounded-up whole number: 111
How would this be expressed?
Ordinarily these two numbers are variables in javascript code.
On the format tab in Text Field properties, would you set the number for 2 decimal places, so as to have something for the rounding to work on?
Thank you for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.