Skip to content

Commit c19f597

Browse files
committed
Update readme
1 parent 3d6d63a commit c19f597

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Use `as()` to export the size in another format.
3131
echo $size->as('MB'); // 512000
3232
```
3333

34-
The second parameter specifies decimal precision (default is 2).
34+
The second argument specifies decimal precision (default is 2).
3535

3636
```php
3737
echo $size->as('TB', 3); // 0.488
@@ -41,6 +41,7 @@ Use `asAuto()` to simply get a user-friendly string.
4141

4242
```php
4343
$size = new FileSize('1234522678.12 KB');
44+
4445
echo $size->asAuto(); // '1.15 TB'
4546
```
4647

0 commit comments

Comments
 (0)