diff --git a/README.md b/README.md index 918c2a4..d27759a 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,7 @@ Require the package via composer: ```sh composer require archtechx/money ``` - -## Main concepts +# Usage The package has two main classes: - `Money` which represents monetary values @@ -27,8 +26,6 @@ The package has two main classes: This document uses the terms [decimal value](#decimal-value), [base value](#base-value), [default currency](#default-currency), [current currency](#current-currency), [rounding](#rounding), [math decimals](#math-decimals), [display decimals](#display-decimals), and a few others. Refer to the [Terminology](#terminology) section for definitions. -# Usage - ## Money **Important**: As an implementation of the [Money pattern](https://martinfowler.com/eaaCatalog/money.html), the `Money` object creates a new instance after each operation. Meaning, **all `Money` instances are immutable**. To modify the value of a variable, re-initialize it with a new value: