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.