Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Aug 17, 2023
1 parent ca76245 commit f65d283
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 @@ -23,7 +23,7 @@ or add this to require section in your composer.json file:
"cknow/laravel-money": "^7.0"
```

then run ```composer update```
then run `composer update`

## Usage

Expand Down Expand Up @@ -210,7 +210,7 @@ $model->money = 10.23; // 10.23 USD or any other currency defined
$model->money = 'A$10'; // 10.00 AUD
$model->money = '1,000.23'; // 1000.23 USD or any other currency defined
$model->money = '10'; // 0.10 USD or any other currency defined
$model->money = Money::EUR(10); // 10 EUR
$model->money = Money::EUR(10); // 0.10 EUR
```

When we pass the model attribute holding the currency,
Expand Down

0 comments on commit f65d283

Please sign in to comment.