title: Objective C truncate double value to 2 decimal places
body: <p>I'm trying to truncate a double value to two decimal places. I tried using:</p>
  
  <pre><code>[highScoreLabel setText:[NSString stringWithFormat:@"Highscore: %.2f",finalTime]];
  </code></pre>
  
  <p>but I found that it rounds the number after 2 places. This makes the score I'm reporting to game center and the score displayed in app different. How can I cut off the rest of the decimal without rounding it?</p>