CALC.xnpv(rate, values, dates)

CALC.accrint(issue, interest, settlement, rate, par, freq, [basis])

CALC.accrintm(issue, maturity, rate, par, [basis])

CALC.amordegrc(cost, date_purchased, first_period, salvage, period, rate, [basis])

CALC.amorlinc(cost, date_purchased, first_period, salvage, period, rate, [basis])

CALC.coupdaybs(settlement, maturity, frequency, [basis])

CALC.coupdays(settlement, maturity, frequency, [basis])

CALC.coupdaysnc(settlement, maturity, frequency, [basis])

CALC.coupncd(settlement, maturity, frequency, [basis])

CALC.coupnum(settlement, maturity, frequency, [basis])

CALC.couppcd(settlement, maturity, frequency, [basis])

CALC.cumipmt(rate, nper, pv, start_period, end_period, type)

CALC.cumprinc(rate, nper, pv, start_period, end_period, type)

CALC.db(cost, salvage, life, period, [month])

CALC.ddb(cost, salvage, life, period, [factor])

CALC.disc(settlement, maturity, pr, redemption, [basis])

CALC.duration(settlement, maturity, coupon, yld, frequency, [basis])

CALC.effect(nominal_rate, npery)

CALC.fv(rate, nper, pmt, [pv], [type])

CALC.fvschedule(principal, schedule)

CALC.intrate(settlement, maturity, investment, redemption, [basis])

CALC.ipmt(rate, per, nper, pv, fv, type)

CALC.ispmt(rate, per, nper, pv)

CALC.mduration(settlement, maturity, coupon, yld, frequency, [basis])

CALC.mirr(values, finance_rate, reinvest_rate)

CALC.nominal(effect_rate, npery)

CALC.nper(rate, pmt, pv, fv, type)

CALC.npv(rate, [value1, value2, [....]])

CALC.pmt(rate, nper, pv, fv, type)

CALC.ppmt(rate, per, nper, pv, fv, type)

CALC.price(settlement, maturity, rate, yld, redemption, frequency, [basis])

CALC.pricedisc(settlement, maturity, discount, redemption, [basis])

CALC.pricemat(settlement, maturity, issue, rate, yld, [basis])

CALC.pv(rate, nper, pmt, fv, type)

CALC.received(settlement, maturity, investment, discount, [basis])

CALC.sln(cost, salvage, life)

CALC.syd(cost, salvage, life, per)

CALC.tbilleq(settlement, maturity, discount)

CALC.tbillprice(settlement, maturity, discount)

CALC.tbillyield(settlement, maturity, pr)

CALC.vdb(cost, salvage, life, start_period, end_period, factor, no_switch)

CALC.xnpv(rate, values, dates)

CALC.yielddisc(settlement, maturity, pr, redemption, [basis])

CALC.yieldmat(settlement, maturity, issue, rate, pr, [basis])

Returns the net present value for a schedule of cash flows that is not necessarily periodic. Rate is the discount rate to apply to the cash flows. Values is a series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive value and one negative value. Dates is a schedule of payment dates that corresponds to the cash flow payments. The first payment date indicates the beginning of the schedule of payments. All other dates must be later than this date, but they may occur in any order.

Example

CALC.xnpv(9, [-10000, 2750, 4250, 3250, 2750],[new Date(2008, 0, 1),new Date(2008, 2, 1),new Date(2008, 9, 30),new Date(2009, 1, 15), new Date(2009, 3, 1)]);

// returns 2086.65

(The net present value for an investment, with the above cost and returns, where the cash flows are discounted at a rate of 9%)

<< CALC.vdb(cost, salvage, life, start_period, end_period, factor, no_switch) © 1996-2013 InetSoft Technology Corporation (v11.5) CALC.yielddisc(settlement, maturity, pr, redemption, [basis]) >>