Lines Matching refs:nPrincipalAmount
2370 float nPrincipalAmount = ValueToFloat(pThis, argOne.get()); in IPmt() local
2375 if ((nPrincipalAmount <= 0) || (nRate <= 0) || (nPayment <= 0) || in IPmt()
2383 (int32_t)((log10((float)(nPayment / nPrincipalAmount)) - in IPmt()
2384 log10((float)(nPayment / nPrincipalAmount - nRateOfMonth))) / in IPmt()
2388 if (nPayment < nPrincipalAmount * nRateOfMonth) { in IPmt()
2395 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2399 nSum += nPrincipalAmount * nRateOfMonth; in IPmt()
2400 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in IPmt()
2505 float nPrincipalAmount = ValueToFloat(pThis, argOne.get()); in PPmt() local
2510 if ((nPrincipalAmount <= 0) || (nRate <= 0) || (nPayment <= 0) || in PPmt()
2518 (int32_t)((log10((float)(nPayment / nPrincipalAmount)) - in PPmt()
2519 log10((float)(nPayment / nPrincipalAmount - nRateOfMonth))) / in PPmt()
2522 if (nPayment < nPrincipalAmount * nRateOfMonth) { in PPmt()
2529 nPrincipalAmount -= nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()
2534 nTemp = nPayment - nPrincipalAmount * nRateOfMonth; in PPmt()
2536 nPrincipalAmount -= nTemp; in PPmt()