• Home
  • About Us
  • C Sharp
  • ASP.NET MVC
  • AngularJS
  • SQL Server
  • WCF and Web API
  • Privacy Policy
  • Contact

Research in .NET

Wednesday, 12 February 2014

to convert a currency in comma seprated values

function digits (ExcessAmt) {
                             return ExcessAmt.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
                                }

Call this function ,pass number and collect in any variable
Posted by bhanu pratap at 21:44 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2016 (2)
    • ►  August (1)
    • ►  February (1)
  • ►  2015 (8)
    • ►  December (1)
    • ►  April (3)
    • ►  March (1)
    • ►  January (3)
  • ▼  2014 (8)
    • ►  December (1)
    • ►  November (1)
    • ►  August (2)
    • ►  April (2)
    • ▼  February (1)
      • to convert a currency in comma seprated values
    • ►  January (1)
  • ►  2013 (17)
    • ►  December (2)
    • ►  October (3)
    • ►  September (2)
    • ►  August (2)
    • ►  July (8)

About Me

Bhanu Pratap
View my complete profile
Ethereal theme. Powered by Blogger.