javascript adding commas to numbers

0

javascript adding commas to numbers easy to do.You can put commas to each 3 decimal places.That means separating the thousands or javascript number format or rounding it.Following functions are returns with commas with called number.

Only you have to do call this function.

Method-1

Method-2

This is a another function to adding commas to numbers.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.