View Single Post
  #3 (permalink)  
Old 06-10-2007, 05:22 PM
Alan sunbeam
Posts: n/a
-12%5=-2
12%-5=2
In the first case the mod has the highest priority
The second case would take some research to find out what gives but at a guess it is taking the abs value of -5 because a negative value doesn't make sense.
12%5=2
-12%-5=-2
12/-5=-2

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!