Lines Matching refs:nRateOfMonth
2737 float nRateOfMonth = nRate / 12; in IPmt() local
2740 log10((float)(nPayment / nPrincipalAmount - nRateOfMonth))) / in IPmt()
2741 log10((float)(1 + nRateOfMonth))); in IPmt()
2744 if (nPayment < nPrincipalAmount * nRateOfMonth) { in IPmt()
2751 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2755 nSum += nPrincipalAmount * nRateOfMonth; in IPmt()
2756 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2872 float nRateOfMonth = nRate / 12; in PPmt() local
2875 log10((float)(nPayment / nPrincipalAmount - nRateOfMonth))) / in PPmt()
2876 log10((float)(1 + nRateOfMonth))); in PPmt()
2878 if (nPayment < nPrincipalAmount * nRateOfMonth) { in PPmt()
2885 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()
2890 nTemp = nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()