matician - v2.0.0
    Preparing search index...

    Function presentValue

    • Calculates the present value of a future amount using compound interest.

      Parameters

      • futureValue: number

        The future value to discount.

      • rate: number

        The interest rate (as a decimal, e.g., 0.05 for 5%).

      • periods: number

        The number of periods until the payment.

      Returns number

      The present value.