Module finance_lib

Source
Expand description
  • Financial calculations

§Usage

  • Since any time period can be used, “payment stream” equals “annuity”

§Metadata

  • Copyright: © 1999 - 2022 CroftSoft Inc
  • Author: David Wallace Croft
  • Rust version: 2022-08-23
  • Rust since: 2022-07-30
  • Java version: 2001-10-10
  • Java since: 1999-08-15

§History

Structs§

FutureValue
Calculates the future value of a cash flow received today
FutureValuePaymentStream
Calculates the future value of a payment stream such as an annuity
InternalRateOfReturn
The calculated discount rate where the net present value is zero
NetPresentValue
The discounted value of multiple cash flows received in the future
PeriodicSavingsNeeded
Calculates the periodic investments required to accumulate a future value
PresentValue
The discounted value of a single cash flow received in the future
PresentValueCashFlows
The discounted value of varying periodic cash flows
PresentValuePaymentStream
Calculates the present value of a payment stream such as an annuity

Enums§

InternalRateOfReturnError

Functions§

annual_savings_neededDeprecated
Replaced by PeriodicSavingsNeeded