Valor del dinero en el tiempo
fin-tvmResuelve la variable faltante del valor del dinero en el tiempo (pv, fv, pmt, nper o tasa). Cuándo: un cálculo de dinero, impuestos o matemática financiera tiene que ser exacto y reproducible (redondeo, centavos, tasas). No para: calcular la cuota fija de un préstamo amortizable (fin-loan-payment). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Solves for the one missing TVM variable (pv, fv, pmt, nper or rate per period) given the others, with Excel sign convention (cash out negative) and payments at end or beginning. When: a money, tax or financial-math result has to be exact and reproducible (rounding, cents, rates). Not for: computing the fixed periodic payment for an amortizing loan: PMT = P·r / (fin-loan-payment). Side effects: none (read-only, no network access, no stored state). [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fv | No | Future value (number; optional). | |
| pv | No | Present value (number; optional). | |
| pmt | No | Payment per period (number; optional). | |
| nper | No | Number of periods (number; optional; min 0; max 10000). | |
| rate | No | Interest rate per period as a decimal (0.05 = 5%) (number; optional; min -0.99; max 10). | |
| when | No | Payment timing (optional; one of: end, begin; default "end"). | end |
| solve_for | Yes | Unknown (required; one of: pv, fv, pmt, nper, rate). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fv | No | ||
| pmt | No | ||
| nper | No | ||
| rate | No |