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 is extension method in c sharp?
What does int parse do in c#?
Can I use parseint?
how to sort an array in c#
Is everything an object c#?
What is reflection in c#?
Which is faster list or dictionary in c#?
Define parsing? Explain how to parse a datetime string?
What are the examples of data types?
Which one is trusted and which one is untrusted?
What is the difference between returning iqueryable vs ienumerable?
What is a class c#?
What is dictionary and hashtable in c#?
What is the difference between list and arraylist in c#?
What is the execution entry point for a c# console application?