#3878 don't show the units of a partial file size when it's the same as the full file size's units

This commit is contained in:
Mitchell Livingston
2011-01-08 05:11:28 +00:00
parent 035b67677b
commit 3abf813bbf
4 changed files with 68 additions and 45 deletions
+1
View File
@@ -32,6 +32,7 @@
+ (NSString *) formattedUInteger: (NSUInteger) value;
+ (NSString *) stringForFileSize: (uint64_t) size;
+ (NSString *) stringForFilePartialSize: (uint64_t) partialSize fullSize: (uint64_t) fullSize;
+ (NSString *) stringForSpeed: (CGFloat) speed;
+ (NSString *) stringForSpeedAbbrev: (CGFloat) speed;