1. Use smoething like:
System.Globalization.NumberFormatInfo nfi = new
System.Globalization.CultureInfo("en-US", false).NumberFormat;
double ffn= 1234567.89012;
nfi.NumberGroupSeparator = " ";
textBox1.Text=ffn.ToString("N", nfi);
2. Perhaps use a regular expression test on the TextChanged event.
Bern
"Tonya" <an*******@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com...
Tell me please,
1. if I am going to show numbers with distances between zeros like: 20 000
000, how should I code it? 2. if I set the propersty of 'numbers' for a textbox to true, then I can
not use points for fload or double numbers, how could I solve this? is there
any way to make textboxes only receive numbers and points?
Thanks in advance,
Tonya.