Skip to main content
jessicaj68929848
Participating Frequently
Nov 4, 2020 7:02 PM UTC
Question

Need help Rounding up a Calculated Field

Hello! I have absolutely NO experience with JavaScript, but everything I read says I need a script to make my calculated field Round Up. While I understand that, I have not a clue where to put this in, or how I would need to change it to perform the actions I need it to.

I have a form that adds 8 fields up for the Subtotal. One of these fields is multiplied by a number with 6 decimal places. So currently, even though it only shows 2 decimal places, I believe the subtotal is rounding down based on that calculation, and I need it to round up.

I've attached a screenshot of the calculation that is causing the question. If someone can easily provide step-by-step instructions on how to add a script to achieve the correct calculation to 2 decimal points, including where in Acrobat Pro DC to enter the script and how to write it, I would be so grateful!

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

radzmar
Community Expert
Community Expert
Nov 4, 2020 7:12 PM UTC

Adobe Acrobat Reader can't be used to add calculation scripts. Use the Adobe Acrobat instead. The forum for that application is here: https://community.adobe.com/t5/acrobat/bd-p/acrobat

Translate
jessicaj68929848
Participating Frequently
Nov 4, 2020 7:22 PM UTC

I posted the question there first, and was also told I was in the wrong forum 😞

Translate