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 / 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


Please Help Members By Posting Answers For Below Questions

What is int parse in c#?

1060


is it possible to access a remote web service Without UDDI?

1065


Do we get an error while executing the “finally” block in c#?

1001


what are some characteristics of an array?

1005


What is array and arraylist?

1113


What does this keyword mean in c#?

964


How do you encapsulate in c#?

979


What are types of constructor?

932


What is datatable and dataset in c#?

1057


Can properties be overloaded in c#?

1016


How do you sort an array in c#?

1098


What are modifiers in c#?

929


What is different about switch statements in c#?

927


What is a console in c#?

910


What is variable in c#?

1008