title: Using mod operator in iOS app
body: <p>I have an NSTimeInterval that is stored as a double. I would like to get the amount of minutes that are inide of the second value using the % operator.</p>
  
  <pre><code>minutes = secondValue % 60;
  </code></pre>
  
  <p>where minutes is declared as <code>double minutes</code></p>
  
  <p>The result is that XCode says "Invalid operands to binary %"</p>
  
  <p>Thoughts?</p>