Skip to content

Commit a600884

Browse files
committed
Copy edit README.
Moved ByteFormatterTest into correct directory according to namespace.
1 parent 4c2f37a commit a600884

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ By default all values are rounded to the nearest integer.
4141
```
4242
> 513 KiB
4343
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.
4545

4646
```php
4747
(new ByteFormatter)->setPrecision(2)->format(0x80233);
@@ -56,7 +56,7 @@ needed.
5656
```
5757
> 512.5 KiB
5858
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()`.
6060

6161
```php
6262
(new ByteFormatter)->setPrecision(2)->format(0x80233, 4);
@@ -155,8 +155,8 @@ Using decimal base:
155155
Testing
156156
-------
157157

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`.
160160

161161
[Releases]: https://github.com/ScriptFUSION/ByteFormatter/releases
162162
[Version image]: http://img.shields.io/github/tag/ScriptFUSION/ByteFormatter.svg "Latest version"
File renamed without changes.

0 commit comments

Comments
 (0)