How to show Indian Currency Format in asp.net

Convert Number into Indian Rupees using asp.net

How to display Indian currency format in asp.net

How to display a number into Indian format using asp.net

Show number in Currency format in asp.net

Copy following code
CultureInfo cuInfo = new CultureInfo(“hi-IN”);
double val = 500000;
string valuewithcomma = (val.ToString(“N”, cuInfo));
string finalvalue = valuewithcomma.Split(‘.’)[0];
Response.Write(finalvalue);
Note : Add following namespace in your page
using System.Globalization;

 

About the Author

avatar