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 / varun
try the below statment. It uses the indian english culture
to represent the numbers in lakhs instead of millions
format..
Console.WriteLine(i.ToString("#,#",
System.Globalization.CultureInfo.GetCultureInfo("en-IN")));
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Do vs while c#?
What is CLR and its application.?
Why c# is called type safe language?
What are types in c#?
What is the difference between == and object.equals?
Explain About multi level and multiple inheritance how to achieve in .net
What are virtual classes in c#?
Why dataset is used in c#?
what is IComparable
What is asynccallback c#?
What is the use of properties window?
What is class method?
How is the syntax written to inherit from a class in C#?Give an example ?
So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?
Explain the difference between and xml documentation tag?