i want to convert 123456 in form of indian currency(1,23,456).
how is this possible
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Iftikar HussainPosted Jul 18, 2013, 2:54 AM
Try like this
with decimal
without decimal
Regards,
Iftikar
Sanjeeb LenkaPosted Jul 22, 2013, 6:58 AM
i checked the code it working perfectly in my system. in web, windows and console;
arvind nitinPosted Jul 22, 2013, 6:56 AM
i face this problem .... Error1No overload for method 'ToString' takes 2 arguments from this code
Sanjeeb LenkaPosted Jul 18, 2013, 3:20 AM
using System.Globalization;
double dblValue = 12445756757.6789;
string s = dblValue.ToString("N1", CultureInfo.CreateSpecificCulture("hi-IN"));