Click here to Skip to main content
15,037,009 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello....

I have amount in INR just like 250000 but i want to display it like this 2,50,000 . so how can i do it ?

I use gridview for display this data.
Posted

C#
value = 1234567890;
Console.WriteLine("Format:  " + value.ToString("0,0",
                CultureInfo.InvariantCulture));
Console.WriteLine();


C#
output: 1,234,567,890

Try this...
   
v2
Comments
pranavshah598 5-Jun-13 1:49am
   
yes archit this is best solution among these.....
[no name] 5-Jun-13 1:58am
   
thank you :-)

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