Well, there is a PMT function in FormCalc you can
use:http://partners.adobe.com/public/developer/en/xml/xfa_spec_3_3.pdf#page=1110This
is only available for XFA forms not for AcroForsm and you have to make
sure that the selected language is FormCalc not JavaScript.