Skip to main content
Module

x/financial/src/financial.ts>fv

A Zero-dependency TypeScript/JavaScript financial library (based on numpy-financial) for Node.js, Deno and the browser
Latest
function fv
import { fv } from "https://deno.land/x/financial@v0.1.3/src/financial.ts";

Compute the future value.

Parameters

rate: number
  • Rate of interest as decimal (not per cent) per period
nper: number
  • Number of compounding periods
pmt: number
  • A fixed payment, paid either at the beginning or ar the end (specified by when)
pv: number
  • Present value
optional
when: PaymentDueTime = [UNSUPPORTED]
  • When payment was made

Returns

number

The value at the end of the nper periods