Feb-13-2017, 03:45 PM
Hm, is that value (0.5) a percentage per month? If it is you should use it in the script but you have to divide it by 100. Now you get $500 per month interests.
account = account + account*(0.5/100) - 500
This add the interest to the balance and subtracts 500.
account = account + account*(0.5/100) - 500
This add the interest to the balance and subtracts 500.