Lines Matching refs:nRateOfMonth
2498 FX_FLOAT nRateOfMonth = nRate / 12; in IPmt() local
2501 FXSYS_log10((FX_FLOAT)(nPayment / nPrincipalAmount - nRateOfMonth))) / in IPmt()
2502 FXSYS_log10((FX_FLOAT)(1 + nRateOfMonth))); in IPmt()
2505 if (nPayment < nPrincipalAmount * nRateOfMonth) { in IPmt()
2512 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2516 nSum += nPrincipalAmount * nRateOfMonth; in IPmt()
2517 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2633 FX_FLOAT nRateOfMonth = nRate / 12; in PPmt() local
2636 FXSYS_log10((FX_FLOAT)(nPayment / nPrincipalAmount - nRateOfMonth))) / in PPmt()
2637 FXSYS_log10((FX_FLOAT)(1 + nRateOfMonth))); in PPmt()
2639 if (nPayment < nPrincipalAmount * nRateOfMonth) { in PPmt()
2646 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()
2651 nTemp = nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()