如何使用sas sql计算未来值(FV)

时间:2015-10-11 03:39:48

标签: sql sas

我需要在Sas sql中计算以下公式的FV值。 FV(速率/ 100,-nper,PMT)

1 个答案:

答案 0 :(得分:0)

根据您提供的信息; RTFM

Example:

data _null_;
   rate = 0.06/12;
   nper = 10;
   pmt = -200;
   pv = -500;
   type = 1;
   r = finance('fv', rate, nper, pmt, pv, type);
   put r = ;
run;
The value of r that is returned is 2581.4033741.

SAS SQL?

PROC SQL;
   ...
QUIT;