Easy Number Separator is a useful pure JavaScript plugin for formatting currency by a comma separator (,) on input.
input typenumber comma separator, html format number thousands separator, jquery thousand separator input, bootstrap input currency format
Features
- Separate the number with a comma character (,) when typing into input automatically and in real-time.
- It does not accept non-numeric characters.
- Any text input can be worked on just by adding a number separator class.
Bootstrap 5 spinner/loading/pending indicator Form Controls | Input Spinner
How to make use of it:
1. Import the easy-number -eparator.js JavaScript library.
<script src="easy-number-separator.js"></script>
2. Attach easyNumberSeparator to the input field you select.
<input type="text" class="number-separator" placeholder="Enter Your Number..." />
easyNumberSeparator({ selector: '.number-separator', })
3. Customize the thousands separator.
easyNumberSeparator({ selector: '.number-separator', separator: '.' })
💸 A Tiny Currency Formatting Library For JavaScript | pretty-money
Easy Number Separator For Currency Input, Easy Number Separator Plugin/Github, thousand separator in html table, currency input field
See Demo And Download
Official Website(amiryxe): Click Here
This superior jQuery/javascript plugin is developed by amiryxe. For extra Advanced Usages, please go to the official website.