fsprojects / ExcelFinancialFunctions

.NET Standard library providing the full set of financial functions from Excel.
https://fsprojects.github.io/ExcelFinancialFunctions
Other
195 stars 66 forks source link

Rate of 0 should not throw an exception on price and yield functions #6

Closed cpell closed 9 years ago

cpell commented 9 years ago

Updated the exception cases. There is a chance this could also be applicable to some other functions. Results of this change were very close to Excel in my tests.