Viewing 2 posts - 1 through 2 (of 2 total)
I had the same problem - the maths was so completely obvious I assumed the issue must be integer overflow! I'm horrified so many people don't understand operator precedence (or...
June 21, 2004 at 2:42 am
#511182
Three lines are better than one when it makes it easier to read and understand.
When you have moved on and some else has to maintain your code they will thank...
March 10, 2004 at 2:21 am
#498094