Gang,
I couldn't find references to this in other posts. I'm relatively new to LiveCycle, so if it's widely known or has already been covered, I apologize.
In researching the need to use exponents in an exit event of a FormCalc script (see post "Exponents: Raising a Number to a Power"), I stumbled upon some information that was supposedly part of the Designer 7.1 FormCalc spec.
It seems that there may be a host of undocumented scientific functions, such as:
Acos()
Asin()
Atan()
Cos()
Deg2Rad()
Exp()
Log()
Pi()
Pow()
Rad2Deg()
Sin()
Sqrt()
Tan()
I don't know if they are all present, nor do I have the syntax, but I would have to assume that they would be similar to those in use in other environments.
I can say that I successfully used the pow(x,y) function in a FormCalc script to raise x to the power of y. I am using LiveCycle v8.
I hope this can help someone out there like me who is struggling and has little-to-no JavaScript experience.
-David
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script