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
Is stringbuilder better than string?
What is desktop GUI application?
How many types of delegates are there in c#?
Explain how obfuscator works in .net
What is the difference between field and variable in c#?
What is serialization in c#?
How can you read 3rd line from a text file?
Is javascript harder than c#?
Does c# replace c++?
What is overloading in c#?
Can I use exceptions in c#?
2. What happened when BO object has been called?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
What is ac callback?
What do you mean by thread safe in c#?