Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
The code multiplies the result of an integer remaining by an integer constant.
Be sure you don't have your operator precedence confused. For example
i % 60 * 1000 is (i % 60) * 1000, not i % (60 * 1000).
New to GrepCode? Check out our FAQ X