1. Home
  2. Banking
  3. Tax
  4. Forms
  5. ppf - ssy
  6. Sr. Citizen
  7. Widgets
  8. Misc.
Home  ❯  Misc.  ❯  This Page

JavaScript to Insert Commas in Number

Scripts to Insert Commas in Number in Indian / US Number Format

in Indian number format has commas for separating thousands, lacs, crores and so on. The format is like 11,11,11,11,111.00

The US number format has commas for separating thousands, millions, billions and so on. The format is like 11,111,111,111.00

You can use the below scripts to convert a number entered in an input field without commas to a string containing commas in Indian number format or US Number format with or without two decimal places. The script uses jQuery.

Demo

Enter any number
Updated : Aug 21, 2020