I've tried the Masked Edit with a lot of different masks, but I just can't get it to work.
And I tried this code:
- Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");
- double text = double.Parse(txt.Text);
- txt.Text = text.ToString("#,##");
But when I insert in the textbox for example 2500 I got 02 500 while I want 2 500.
Any suggestions ?
Thank you.
Any suggestions ?
Thank you.

Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Sep 27, 2016, 6:12 AM EDT
Jim Tat52 reputationPosted Sep 27, 2016, 7:23 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Sep 27, 2016, 7:50 AM EDT
Jim Tat52 reputationPosted Sep 27, 2016, 7:54 AM EDT
Jim Tat52 reputationPosted Sep 27, 2016, 8:06 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Sep 27, 2016, 8:10 AM EDT
Jim Tat52 reputationPosted Sep 27, 2016, 8:15 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Sep 27, 2016, 8:37 AM EDT
Jim Tat52 reputationPosted Sep 27, 2016, 8:40 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Sep 27, 2016, 9:03 AM EDT
theLizardRank #1,079 · 1.8K reputationPosted Sep 27, 2016, 3:58 PM EDT