MathTop

present_value 函数

把未来金额折现为现值。

语法

  • Finance:-PresentValue(futureAmount, rate, periods)
  • present_value(futureAmount, rate, periods)

参数与选项

futureAmount要折现的未来金额。
rate以小数表示的周期折现率。
periods折现期数。

示例

  1. 未来金额折现Finance:-PresentValue(1157.625, 0.05, 3)返回 1000。