Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (balance < 0)
- {
- balance = balance - 1;
- console.log("Balance: " + balance)
- var result = balance * interestRate / minPayment;
- console.log(result)
- var newBalance = balance - result;
- console.log(newBalance);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement