Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add comma to the given number
#1
how to add comma to the given number

for example if number is 2000 then it should display 2,000

and if number is 20500 then it should display 20,500

I request some1 to give me the function for displaying the format mentioned as above...

Reply
#2
Could you try with below codes.
Code:
str=FormatCurrency(2000) str=Mid(str,2,len(str))
Reply
#3
Thank you very much
Reply
#4
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to give comma seprator when RS is returned multiple results? prasannadr 0 2,121 03-29-2012, 12:56 PM
Last Post: prasannadr
  what add-ins should i add... Venkat 1 3,850 03-07-2011, 12:38 AM
Last Post: akbarsharifmd
  Count the number of 3 number appers between 0-3333 SaranKumarV 1 4,367 09-20-2010, 06:32 PM
Last Post: rdemers25
  is webservice add in is different from web add in in qtp? hikpvasanth 1 3,668 10-07-2008, 07:23 PM
Last Post: niranjan

Forum Jump:


Users browsing this thread: 1 Guest(s)