🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

An Easy Number Separator created for formatting the currency input that automatically adds thousand separators in numbers when entered in an input field.

Number currency number-format

Documentation

Easy-Number-Separator

Easy Number Separator is a useful jQuery Plugin for Currency Format by Comma Separator on Input

View Demo

Features

  • Separate number by comma character (,) when typing in input automatically and realtime.
  • Does not accept non-numeric characters.
  • Can work on any text inputs just by add number-separator class.
  • Accept Dot character (.) for Decimals.

How to Use

  1. include jQuery in your project like this:
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
  1. Add Easy Number Separator plugin to your project:
<script src="js/easy-number-separator.js"></script>
  1. Now just add number-separator class to your text input for separating numbers.

Enjoy :)

tnx to amirmms


You May Also Like