We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6d63a commit c19f597Copy full SHA for c19f597
README.md
@@ -31,7 +31,7 @@ Use `as()` to export the size in another format.
31
echo $size->as('MB'); // 512000
32
```
33
34
-The second parameter specifies decimal precision (default is 2).
+The second argument specifies decimal precision (default is 2).
35
36
```php
37
echo $size->as('TB', 3); // 0.488
@@ -41,6 +41,7 @@ Use `asAuto()` to simply get a user-friendly string.
41
42
43
$size = new FileSize('1234522678.12 KB');
44
+
45
echo $size->asAuto(); // '1.15 TB'
46
47
0 commit comments