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
What are the different states of a thread?
What is singleordefault c#?
What are the different approaches of passing parameters to a method?
Is a decimal an integer?
What is the best dependency injection c#?
What do you use c# for?
How would you describe encapsulation in c#?
What are satellite assemblies?
Does c# support properties of array types?
What is an xsd file?
What is the difference between a variable and a literal?
What is namespace explain with example?
Why is c# good for games?
Distinguish between finally and finalize blocks?
What are scriptable objects?