New Forum | Previous | Next | (P-PDF) Developers
Topic: Numeric Calculations and decimal places
Conf: (P-PDF) Developers, Msg: 35645
From: CynthiaBlue
Date: 2/28/2002 07:38 AM
I'm having a problem in PDF forms I am developing. I have a number of form fields and some calculations need to be done on them. I have made them numbers, and put in 2 decimal places.
However, it seems Acrobat is calculating the numbers out furter than the 2 decimal places.
IE:
1.0125
1.0125
1.0125
1.0100
------
1.0475
When I limited the decimal places to 2, the answer I am being given is:
1.01
1.01
1.01
1.01
------
1.05
Which is, actually, incorrect. I don't see how I can stop this from happening. The above numbers are actually the results of calculations themselves.
I hope I am making sense. I would appreciate any advice.
Thanks.
Cynthia