title: How to divide numbers and integers?
body: <p>I'm trying to divide 2 integers but the results returns zero no matter what. Should I use float or what? I just can't get it to work. I've tried floats but I get weird results. Here's my code:</p>
  
  <pre><code>    NSUInteger someNumber = 156;
      NSUInteger points = 597;
      NSUInteger otherNumber = 5;
      NSUInteger difference = (someNumber - points);
      NSLog(@"%d", difference);
      NSUInteger divide = (difference / otherNumber);
      NSLog(@"%d", divide);
      NSUInteger multiply = (divide * 4826);
      NSLog(@"%d", multiply);
      NSUInteger total = (358 - multiply);
      NSLog(@"%d", total);
  </code></pre>
  
  <p>Any help would be much appreciated, Thanks.</p>