fsprojects / ExcelFinancialFunctions

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

Implement PDURATION #62

Closed jcoliz closed 2 years ago

jcoliz commented 2 years ago

As described here https://support.microsoft.com/en-us/office/pduration-function-44f33460-5be5-4c90-b857-22308892adaf

Description

Returns the number of periods required by an investment to reach a specified value.

Syntax

PDURATION(rate, pv, fv)

The PDURATION function syntax has the following arguments.