Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How many kinds of elements an array can have?

920


Int map to which .net types?

1007


What is difference between ilist and list in c#?

947


What does console readline do in c#?

892


Can we inherit static class in c#?

967


How is a string immutable?

901


What is Inheritance in C#?

1141


What do you mean by synchronous and asynchronous operations?

940


What is c# in asp net?

914


What is a partial class. Give an example?

958


Can I define my own exceptions?

864


What is the do while loop code?

908


Show us in simple steps to create setup & deployment project for windows application?

958


Why is c# a good programming language?

976


Why interface is required?

823