• Home
  • Raw
  • Download

Lines Matching refs:nRate

2651   float nRate = ValueToFloat(pThis, argOne.get());  in CTerm()  local
2654 if ((nRate <= 0) || (nFutureValue <= 0) || (nInitAmount <= 0)) { in CTerm()
2660 log((float)(1 + nRate))); in CTerm()
2683 double nRate = ValueToDouble(pThis, argTwo.get()); in FV() local
2685 if ((nRate < 0) || (nPeriod <= 0) || (nAmount <= 0)) { in FV()
2691 if (nRate) { in FV()
2694 nTemp *= 1 + nRate; in FV()
2696 dResult = nAmount * (nTemp - 1) / nRate; in FV()
2727 float nRate = ValueToFloat(pThis, argTwo.get()); in IPmt() local
2731 if ((nPrincipalAmount <= 0) || (nRate <= 0) || (nPayment <= 0) || in IPmt()
2737 float nRateOfMonth = nRate / 12; in IPmt()
2781 double nRate = ValueToDouble(pThis, argValues[0].get()); in NPV() local
2782 if (nRate <= 0) { in NPV()
2796 nTemp *= 1 + nRate; in NPV()
2824 float nRate = ValueToFloat(pThis, argTwo.get()); in Pmt() local
2826 if ((nPrincipal <= 0) || (nRate <= 0) || (nPeriods <= 0)) { in Pmt()
2831 float nTmp = 1 + nRate; in Pmt()
2836 args.GetReturnValue()->SetFloat((nPrincipal * nRate * nSum) / (nSum - 1)); in Pmt()
2862 float nRate = ValueToFloat(pThis, argTwo.get()); in PPmt() local
2866 if ((nPrincipalAmount <= 0) || (nRate <= 0) || (nPayment <= 0) || in PPmt()
2872 float nRateOfMonth = nRate / 12; in PPmt()
2917 double nRate = ValueToDouble(pThis, argTwo.get()); in PV() local
2919 if ((nAmount <= 0) || (nRate < 0) || (nPeriod <= 0)) { in PV()
2926 nTemp *= 1 + nRate; in PV()
2929 args.GetReturnValue()->SetDouble(nAmount * ((1 - nTemp) / nRate)); in PV()
2983 float nRate = ValueToFloat(pThis, argTwo.get()); in Term() local
2985 if ((nMount <= 0) || (nRate <= 0) || (nFuture <= 0)) { in Term()
2990 args.GetReturnValue()->SetFloat(log((float)(nFuture / nMount * nRate) + 1) / in Term()
2991 log((float)(1 + nRate))); in Term()