i want display a given number into Rupees Format
Like
Given number is : 156735
my Expected output is 1,56,735.
how to display?
Answer Posted / jayashree k r
1,56,735 is not a valid number format. you can display as
156,735.
int i = 156735
i.ToString("#,#",
System.Globalization.CultureInfo.InvariantCulture)
will give you the expected result.
Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
Explain dataset.acceptchanges method in .net?
Is php easier than c#?
What is the use of xmlserializer?
What is a satellite assembly in c#?
Explain code compilation in c#.
Can dictionary have duplicate keys c#?
Is array a list?
Can u list some style properties of List Box?
What is unmannaged code and will CLR handle this kind of code or not .
What is the use of tuple in c#?
What is the difference between method parameters and method arguments. Give an example?
What is keywords in c#?
Different between method overriding and method overloading?
What is a Jagged Array in C#?
What is ispostback c#?