-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x-mask custom decimal precision (#3415)
* Allow for custom decimal precision * add test * Changed formatMoney to accept an options object Changed formatMoney to accept an options object as the second parameter while also allowing backwards compatibility for any formatMoney(input, delimiter = '.', thousands) calls updated tests to use options object fixed typos in test add test based on initial value fix initial value test * Revert "Changed formatMoney to accept an options object" This reverts commit c83b807. * Add money format precision documentation * Update mask.md --------- Co-authored-by: Josh Hanley <[email protected]>
- Loading branch information
1 parent
0a360fb
commit 04ff2c7
Showing
3 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters