Skip to content

Commit

Permalink
Readme file update
Browse files Browse the repository at this point in the history
  • Loading branch information
kwn committed May 4, 2022
1 parent 7aa709e commit 539913b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Then it can be used passing in numeric values to the `toWords()` method:
$numberTransformer->toWords(5120); // outputs "five thousand one hundred twenty"
```

You can also use the simpler version:
You can also use a static method:

```php
NumberToWords::transformNumber('en', 5120); // outputs "five thousand one hundred twenty"
Expand All @@ -65,7 +65,7 @@ Then it can be used passing in numeric values for amount and ISO 4217 currency i
$currencyTransformer->toWords(5099, 'USD'); // outputs "fifty dollars ninety nine cents"
```

You can also use the simpler version:
You can also use a static method:

```php
NumberToWords::transformCurrency('en', 5099, 'USD'); // outputs "fifty dollars ninety nine cents"
Expand Down

0 comments on commit 539913b

Please sign in to comment.