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

Is stringbuilder better than string?

875


What is desktop GUI application?

891


How many types of delegates are there in c#?

916


Explain how obfuscator works in .net

961


What is the difference between field and variable in c#?

955


What is serialization in c#?

864


How can you read 3rd line from a text file?

966


Is javascript harder than c#?

926


Does c# replace c++?

1005


What is overloading in c#?

889


Can I use exceptions in c#?

961


2. What happened when BO object has been called?

1934


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

895


What is ac callback?

867


What do you mean by thread safe in c#?

844