I have forgotten
my Password

Finance

Accounting

Npv

Return the net present value of an investment.
double npv (double rate, double value[], int nV)

Pv

Return the present value of an investment.
double pv (double rate, int n, double p, double vn, PaymentPoint when=pp_EndOfPeriod)

Xnpv

Calculate net present value for a series of non-periodic cash flows. Excel: XNPV
double xnpv (double rate, double values[], int dates[], int nV)

Deprec Pro Rated M

Return the depreciation for each accounting period. Excel: AMORDEGRC
double deprecProRatedM (double valCost, int datePu, int dateFi, double valSalv, int per, double rate, Finance::Banking::YearBasis basis)

Depreciation

Return the depreciation for a specified period using the fixed-declining balance method. Excel: DDB
double depreciation (double valCost, double valSalv, int life, int per, double fact=2.0)

Deprec Pro Rated

Return the depreciation for each accounting period. Excel: AMORLINC
double deprecProRated (double valCost, int datePu, int dateFi, double valSalv, int period, double rate, Finance::Banking::YearBasis basis)

Deprec Straight

Finance namespace
double deprecStraight (double cost, double salvage, int life)

Deprec Sum Of Years

Calculate the sum-of-years depreciation of an asset. Excel: SYD
double deprecSumOfYears (double cost, double salvage, int life, int per)