Hi !
I'd like to know why the percentage format category multiplies the field value by 100 ??
Exemple 40% aprears 4000%. Well the calculation is correct but it's not logic to see 4000%
Is there any thing to do in order to take off the 2 last "00" ??
Thank you guys
I know what you are getting at. You'd like to enter 40 to mean 40%, meaning that the field value is actually .4. The field value has to be .4 or it can't be used in a calculation. The same is true for % fields that are auto filled thru a calculation or assiged by other logic. They have to display a %value, but have the correct numerical value underneath.
Your choices are to go with the default behavior or write your own formatting function.
Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://partners.adobe.com/public/developer/en/acrobat/sdk/
pdf/javascript/AcroJS.pdf]Acrobat JavaScript Reference[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script