1. Home
  2. Banking
  3. Tax
  4. Forms
  5. ppf - ssy
  6. Sr. Citizen
  7. Widgets
  8. Misc.
  1. Home ➤ 
  2. Misc. ➤ 
  3. You Are Here

Javascript to Insert Commas in Number

Scripts to Insert Commas in Number indian / US Number Format

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 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
You may like to View / Use / Download
Income Tax Calculator AY 2021-22 Income Tax Slabs / Rates AY 2021-22
Advance Tax Calculator AY 2021-22 Interest u/s 234A B C Calculator
TDS Calculator AY 2021-22 TDS Rates AY 2021-22
Tax Saving Calculator Post Office Small Saving Calculators
PPF Calculator 2020 SSY Calculator 2020
Challan 280 in fillable Excel and PDF TDS form 16 in Excel with Calculation formulas
PAN forms and Annexures in fillable PDF Post Office forms in Fillable PDF
SBI Lending Rates for Perquisite Valuation Ramayana Prashnvali