These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Need IRR script for FormCalc

sinc
Registered: Jun 3 2008
Posts: 19

Does anyone know where I can find an IRR script for FormCalc?

There are other financial functions in FormCalc, but somehow IRR was left out.

Thanks.

Joseph T. Sinclair
Publisher
RealEstateInvestmentCenter.com

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You could write one. There are a number of advance math functions availale to FormCalc. [url=http://www.acrobatusers.com/forums/aucbb/viewtopic.php?id=14073]Undocumented FormCalc Scientific Functions[/url] and even more with the JavaScript "Math" object.

George Kaiser

sinc
Registered: Jun 3 2008
Posts: 19
My problem is that I'm not a programmer, and writing original script is a huge task for me. If I have to do it myself, it will go on the back burner for a while. In the meanwhile, if anyone knows of an IRR FormCalc script, I will be happy to learn about it.

IRR = internal rate of return

Thanks.

Joseph T. Sinclair
Publisher
RealEstateInvestmentCenter.com

sinc
Registered: Jun 3 2008
Posts: 19
I found a JavaScript for IRR. But I don't know how to use it.

------------------------------------------------

function IRRCalc(CArray, guest) {
if (!guest) {
guest = 110.00;
}
inc =0.00001;

CArray[0] = -100
CArray[1] = 100
CArray[2] = 100



do
{
guest += inc;
NPV = 0;
for (var j=0; j 0);return guest * 100;


document.write("IRR calculation: " + guest )
}

----------------------------------------------

Anyone know how to incorporate this into a form and figure out what the inputs are?

Joseph T. Sinclair
Publisher
RealEstateInvestmentCenter.com