fix ratio display error reported by pea_

This commit is contained in:
Mitchell Livingston 2008-04-07 03:43:20 +00:00
parent 2a8b6f8b1f
commit d40eaf6d97
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
else if (ratio <= 99.95) //10.0 to 99.9
return [NSString localizedStringWithFormat: @"%.1f", ratio];
else //rest are single digit
return [NSString stringWithFormat: @"%d", ratio];
return [NSString stringWithFormat: @"%.0f", ratio];
}
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds