Experts Exchange connects you with the people and services you need so you can get back to work.
// code in the extra form:
private void Q24411753_Load(object sender, EventArgs e)
// test the default for this thread (should be indian)
label1.Text = "Without culture: " + (12.34).ToString("C");
// test the specific culture, this always works:
label2.Text = "With specific culture: " + (12.34).ToString("C", new CultureInfo("hi-IN"));
// code in the Program.cs file:
static void Main()
Thread.CurrentThread.CurrentCulture = new CultureInfo("hi-IN");
Open in new window
// change culture to english/us:
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US");
It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.
Premium members get this course for $159.20.
Premium members get this course for $37.50.
Premium members get this course for $349.00.
Premium members get this course for $174.99.
Premium members get this course for $62.50.
Premium members get this course for $259.00.