title: Format a float to display in a string with two digits?
body: <pre><code>NSString *timerend = [[NSString alloc] initWithFormat:@"%.0f:%.0f:%02d", hours, minutes, seconds];
  </code></pre>
  
  <p>So I have this string and a bunch of floats.  For example, say seconds = 6.54.  It will display as that.  I want it to display as 06.54.  Is there anyway to do that?  Any help with be greatly appreciated.</p>