Previous | Next | (P-PDF) JavaScript
Topic: Desperate: Rounding and calculation mistakes Acrobat 4.X Win NT
Conf: (P-PDF) JavaScript, Msg: 104483
From: kirkforder
Date: 1/23/2004 11:10 AM
Please help!
I have developed an automated pricing system. It calculates, adding and subtracting various different variables under different circumstances. Including percentages and special rates.
The code is a bit long to place here.
It all works beautifully, bar one issue.
All figures are rounded up to 2 decimal points, through the dialogue box.
Unfortunately (you probably guessed already), it doesn't calculate at the visible rate, it calculates to the underlying un-rounded figure. Thus the calculations are incorrect.
Can some one please help
Cheers