Different interest?
-
I have a question…
There’s a price range, in every price range different interest, but how about the no. of terms? Every terms have different interest also.
E.g.
If the client input product amount with 7000 and price range is 5,000 to 12,000, the interest is .80 and he choose 18 months of terms (this terms has 64%)
How can I compute this?
Here the equation
var interest = 0;
if(5000<=fieldname1 && fieldname1<=12000) interest=0.994;
if(12001<=fieldname1 && fieldname1<=30000) interest=0.9351;
if(30001<=fieldname1 && fieldname1<=60000) interest=0.9351;CEIL(fieldname1-fieldname2 / (1- (1 / (1 + interest/12)*exp(fieldname3))) / interest/ 12)
Fieldname1 = Amount
Fieldname2 = Downpayment
interest = declare as interest
fieldname3 = no. of terms (dropdown)
*but the no. of terms have a different interest in price rangeE.g.
Product Amount No. of terms
9 mos. 12mos. 15mos. 18mos.
MOBILE PHONES 5,000 12,000 99.40% 93.51%
MOBILE PHONES 12,001 30,000 97.55% 91.70% 86.07%
MOBILE PHONES 30,001 60,000 93.83% 89.88% 84.29% 79.01%
- The topic ‘Different interest?’ is closed to new replies.