Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using IRR of Excel from VFP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00441774
Message ID:
00441803
Views:
9
>? lnvar gives .0866309480 which is correct, but when I try to do 3 years
dimension aval(3)
aval(1)=-70000
aval(2)=12000
aval(3)=15000
lnvar=o.irr(@aval,-10%)
? lnvar gives error message: missing operand


Terry;

Your approach seems correct. All that I can see is that you are looking at two years rather than three. What happens if you increase the "guess" value?

Tom
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform