UNPKG

@bmancini55/finance

Version:

Finance utilities for JavaScript

11 lines 328 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.calcContPV = void 0; /** * Calculates the continuously compounded present value. */ function calcContPV(price, rfr, time) { return price * Math.exp(-rfr * time); } exports.calcContPV = calcContPV; //# sourceMappingURL=calc-cont-pv.js.map