aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPStringAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPStringAdditions.m')
-rw-r--r--Source/SPStringAdditions.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m
index 09d80b9a..c36e55c1 100644
--- a/Source/SPStringAdditions.m
+++ b/Source/SPStringAdditions.m
@@ -54,7 +54,7 @@
size = (size / 1024);
if (size < 1023) {
- [numberFormatter setFormat:@"#,##0.0 KB"];
+ [numberFormatter setFormat:@"#,##0.0 KiB"];
return [numberFormatter stringFromNumber:[NSNumber numberWithDouble:size]];
}
@@ -62,7 +62,7 @@
size = (size / 1024);
if (size < 1023) {
- [numberFormatter setFormat:@"#,##0.0 MB"];
+ [numberFormatter setFormat:@"#,##0.0 MiB"];
return [numberFormatter stringFromNumber:[NSNumber numberWithDouble:size]];
}
@@ -70,14 +70,14 @@
size = (size / 1024);
if (size < 1023) {
- [numberFormatter setFormat:@"#,##0.0 GB"];
+ [numberFormatter setFormat:@"#,##0.0 GiB"];
return [numberFormatter stringFromNumber:[NSNumber numberWithDouble:size]];
}
size = (size / 1024);
- [numberFormatter setFormat:@"#,##0.0 TB"];
+ [numberFormatter setFormat:@"#,##0.0 TiB"];
return [numberFormatter stringFromNumber:[NSNumber numberWithDouble:size]];
}