What other languages? In Java '%' in this case means " the remainder of"
the "remainder of " dividing -1 by 12 is -1, as is -13 %12 or -25 % 12. I'd be interested to know which other language does what you say. HTH Alan On 7/15/2011 3:07 PM, seven.reeds wrote:
int x = 0; int y = -1; x = y % 12;
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
