Skip to content

Commit

Permalink
Merge 95cb0a4 into 8c77aa7
Browse files Browse the repository at this point in the history
  • Loading branch information
andyburke committed Nov 1, 2018
2 parents 8c77aa7 + 95cb0a4 commit 926e177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Dinero({ amount: 500 })
By default, new Dinero objects represent monetary values with two decimal places. If you want to represent more, or if you're using a currency with a different [exponent](https://en.wikipedia.org/wiki/ISO_4217#Treatment_of_minor_currency_units_(the_%22exponent%22)), you can specify a precision.

```js
// represents $10.4545
// represents $10.545
Dinero({ amount: 10545, precision: 3 })

// The Japanese yen doesn't have sub-units
Expand Down

0 comments on commit 926e177

Please sign in to comment.