[][src]Crate financial

Financial

Financial is a collection of finance calculations memicking some of Excel Financial Functions interface.

Functions

fv

Calculates the future value of an investment based on a constant interest rate. You can use FV with either periodic, constant payments, or a single lump sum payment.

irr

calculates the internal rate of return for a series of cash flows occurring at regular interval represented by the numbers in values.

npv

Calculates the net present value of an investment by using a discount rate and a series of future payments (negative values) and income (positive values).

pv

Calculates the present value of a loan or an investment, based on a constant interest rate. You can use PV with either periodic, constant payments (such as a mortgage or other loan), or a future value that's your investment goal.

xirr

Example

xnpv

Returns the net present value for a schedule of cash flows that is not necessarily periodic.