Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jan 7, 2021
1 parent 7c8e248 commit 9d60af1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ You may occasionally need to chain several operations on a Money, and only apply
use Brick\Money\Money;
use Brick\Math\RoundingMode;

$money = Money::of('9.5', 'EUR'); // EUR 9.50
$money
$money = Money::of('9.5', 'EUR') // EUR 9.50
->toRational() // EUR 950/100
->dividedBy(3) // EUR 950/300
->plus('17.795') // EUR 6288500/300000
Expand Down

0 comments on commit 9d60af1

Please sign in to comment.