Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys, i am trying to display (20000,4597865) as (20,000, 459,7865) but dont really know how to go about it.

i will appreciate if the code can be clearly explain in VB.NET and C#
Posted
Comments
Dr.Walt Fair, PE 17-Sep-11 0:08am    
Is the position of the commas determined by regional settings? What do the commas indicate in the first and second numbers?

1 solution

FormatCurrency() method can be used for the formatting of curreny, based on the regional settings of the machine. Here it is in more details:

http://www.vb-helper.com/howto_net_format_currency.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900