You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ By default all values are rounded to the nearest integer.
41
41
```
42
42
> 513 KiB
43
43
44
-
The default precision can be increased with `setPrecision($precision)`. Increasing the precision allows the specified amount of digits after the decimal point.
44
+
Increasing the default precision with `setPrecision()`allows the specified number of digits after the decimal point.
45
45
46
46
```php
47
47
(new ByteFormatter)->setPrecision(2)->format(0x80233);
@@ -56,7 +56,7 @@ needed.
56
56
```
57
57
> 512.5 KiB
58
58
59
-
The default precision can be overridden on a per-format basis using the optional precision argument to `format()`.
59
+
The default precision can be overridden by passing the second argument to `format()`.
60
60
61
61
```php
62
62
(new ByteFormatter)->setPrecision(2)->format(0x80233, 4);
@@ -155,8 +155,8 @@ Using decimal base:
155
155
Testing
156
156
-------
157
157
158
-
This library is fully unit tested. Run the tests with `vendor/bin/phpunit test` from the command line. All the examples
159
-
in this file can be found in `DocumentationTest`.
158
+
This library is fully unit tested. Run the tests with `vendor/bin/phpunit test` from the command line. All examples
159
+
in this document can be found in `DocumentationTest`.
0 commit comments