Skip to content

Commit

Permalink
Merge pull request #185 from gil--/patch-1
Browse files Browse the repository at this point in the history
fix example
  • Loading branch information
scurker committed Mar 6, 2019
2 parents 2d3489c + c5ac8c1 commit 24b6649
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/01-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ currency(1.23); // => "1.23"

// Strings
currency("1.23"); // => "1.23"
currency("$12.30"); // => "12.23"
currency("$12.30"); // => "12.30"
currency("£1,234,567.89"); // => "1,234,567.89"

// Currency
Expand Down Expand Up @@ -64,4 +64,4 @@ If you need access to the raw numbers, the value is stored as both an `integer`
// Get the internal values
currency(123.45).add(.1).value; // => 123.46
currency(123.45).add(.1).intValue; // => 12346
```
```

0 comments on commit 24b6649

Please sign in to comment.