Answered
Hello!
Adobe Acrobat X Pro:
I added a subtraction script to a field that calculates the total. I need to limit it to 3 spaces after the decimal point, however.
Here is my code:
var v1 = getField("D1 A1").value;
var v2 = getField("D1 B1").value;
event.value = v1 - v2;
Any suggestions, please?
If you need to round the result of the calculation to 3 decimal places, use the "util.printf()" method.
George Kaiser