Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Sep 27, 2021
1 parent 002d18a commit bbea912
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 @@ -205,8 +205,8 @@ Country::where('name', 'like', 'a%')->get(); // Get information about all countr
You may use the `format()` method on any currency model instance to format a given number in that currency:

```php
Currency::find('usd')->format(500) // '$5.00' unconverted
Currency::find('usd')->format(500, true) // '$500.00' converted
Currency::find('usd')->format(500) // $5.00
Currency::find('usd')->format(500, true) // $500.00, converted
```

This functionality uses [`akaunting/laravel-money`](https://github.com/akaunting/laravel-money) internally.
Expand Down

0 comments on commit bbea912

Please sign in to comment.