Saturday, September 21, 2013

[Nifty Tricks] Format Number to Indian Numbering System In Javascript

Recently I was looking for a way to format a number to Indian Numbering System in Javascript. After doing fair amount of Google search I couldn't find any so I created my own with some help from Stackoverflow etc. Here is the code -

1 comment:

  1. This will not work for floating value.
    eg : - 1234567890.987654