Thread
:
Javascript - discount calculations
View Single Post
03-20-2013, 04:45 AM
PM User
|
#
2
jmrker
Senior Coder
Join Date: Aug 2006
Location: FL
Posts: 2,765
Thanks: 29
Thanked 453 Times in 447 Posts
If you know the limits of the loop, why not just use them.
Code:
for (var day = 1; day <= 4; day++) { // discount calculations and display }
Users who have thanked jmrker for this post:
JavaLearner22
(03-20-2013)
jmrker
View Public Profile
Find More Posts by jmrker