문제

I have to use NPV function for Financial calculation. I did some researches but I was confused about how to add it into my c# project.

people say that; Just add Financial.dll to the references in your project. The functions are provided as static methods on a Financial class in the System.Numerics namespace

I added System.Numerics namespace but I couldnt reach to NPV function. Where can I find the Financial.dll file?

Thanks

도움이 되었습니까?

해결책

Access it just like any other classes containing functions:

double npvResult = Financial.Npv(rate, flows);

(Pulled from here)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top