Hi!
How can I permit the write separed number in my texbox. For example:
to format it like this: when I write 100000 (its should separed in three number automatically: 100.000)
Number separated please
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Dec 11, 2014, 2:53 AM EST
Mfwamba Tshimanga155 reputationPosted Dec 11, 2014, 3:08 AM EST
Mfwamba Tshimanga155 reputationPosted Dec 11, 2014, 3:09 AM EST
IsraelRank #1,223 · 1.5K reputationPosted Dec 11, 2014, 3:11 AM EST
VulpesRank #55 · 29.2K reputationPosted Dec 11, 2014, 3:20 AM EST
I think I'm also right in saying that the thousands separator used in Portuguese is the dot rather than the comma used in the US or UK.
So, what I'm saying is that if you have some integer (n say)and you want to display it in a textbox, then this code should automatically insert thousand separators:
textBox1.Text = n.ToString("N0");