Skip to content

Commit

Permalink
Change doc wording adding clarity around .value method (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
k1bs committed Jun 11, 2021
1 parent 36bbc95 commit 98158da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/02-usage.md
Expand Up @@ -58,7 +58,7 @@ By default, currency resolves to a `string` value.
document.getElementsByTagName("input")[0].value = currency(1234.56).add(6.44); // 1241.00
```

If you need access to the raw numbers, the value is stored as both an `integer` and a `string`, which you can access with `.intValue` or `.value`;
*currency.js* stores values as both an `integer` and a `string`. If you need access to the raw numbers, you can access them with `.intValue` or `.value`;

```js
// Get the internal values
Expand Down

0 comments on commit 98158da

Please sign in to comment.