search for: hoursday5

Displaying 1 result from an estimated 1 matches for "hoursday5".

Did you mean: hoursday1
2006 Apr 24
7
Can you improve on this code?
...to zero 31: 32: for item in items 33: totals["Monday"]+=item.hoursday1 34: totals["Tuesday"]+=item.hoursday2 35: totals["Wednesday"]+=item.hoursday3 36: totals["Thursday"]+=item.hoursday4 37: totals["Friday"]+=item.hoursday5 38: totals["Saturday"]+=item.hoursday6 39: totals["Sunday"]+=item.hoursday7 40: totals["Totals"]+=item.hours 41: end 42: totals 43: end -- Posted via http://www.ruby-forum.com/.