Lines Matching refs:nPayment
2358 FX_DOUBLE nPayment = ValueToDouble(pThis, argTwo.get()); in Apr() local
2360 if (nPrincipal <= 0 || nPayment <= 0 || nPeriods <= 0) { in Apr()
2366 2 * (nPeriods * nPayment - nPrincipal) / (nPeriods * nPrincipal); in Apr()
2371 FX_DOUBLE nRet = r * nTemp / (nTemp - 1) - nPayment / nPrincipal; in Apr()
2387 nRet = r * nTemp / (nTemp - 1) - nPayment / nPrincipal; in Apr()
2489 FX_FLOAT nPayment = ValueToFloat(pThis, argThree.get()); in IPmt() local
2492 if ((nPrincipalAmount <= 0) || (nRate <= 0) || (nPayment <= 0) || in IPmt()
2500 (FXSYS_log10((FX_FLOAT)(nPayment / nPrincipalAmount)) - in IPmt()
2501 FXSYS_log10((FX_FLOAT)(nPayment / nPrincipalAmount - nRateOfMonth))) / in IPmt()
2505 if (nPayment < nPrincipalAmount * nRateOfMonth) { in IPmt()
2512 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2517 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2624 FX_FLOAT nPayment = ValueToFloat(pThis, argThree.get()); in PPmt() local
2627 if ((nPrincipalAmount <= 0) || (nRate <= 0) || (nPayment <= 0) || in PPmt()
2635 (FXSYS_log10((FX_FLOAT)(nPayment / nPrincipalAmount)) - in PPmt()
2636 FXSYS_log10((FX_FLOAT)(nPayment / nPrincipalAmount - nRateOfMonth))) / in PPmt()
2639 if (nPayment < nPrincipalAmount * nRateOfMonth) { in PPmt()
2646 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()
2651 nTemp = nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()