From fb9649a7dae0811d0fba0343dfc80825cc7b0b2c Mon Sep 17 00:00:00 2001 From: Evert Pot Date: Sat, 1 Aug 2020 17:00:27 -0400 Subject: [PATCH] Update docs --- CHANGELOG.md | 6 ++++++ readme.md | 3 +++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a644503..80fa6ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Changelog ========= +1.2.0 (2020-08-01) +------------------ + +* Added `pow()` operation. + + 1.1.1 (2020-02-02) ------------------ diff --git a/readme.md b/readme.md index b78e0c2..1439d7c 100644 --- a/readme.md +++ b/readme.md @@ -118,6 +118,9 @@ const result = new Money(10).divide(3); // Multiplication const result = new Money('2000').multiply('1.25'); + +// Powers +const result = new Money(2).pow(8); ``` ### Comparing objects