Example:

Format(781234.57,”0”) 781235
Format(781234.57,”0.0”) 781234.6
Format(781234.576,”0.00”) 781234.58
Format(781234.576,”#,##0.00”) 781,234.58
Format(781234.576,”$#,##0.00”) $781,234.58
Format(0.576,”0%”) 58%
Format(0.5768,”0.00%”) 57.68%

Hi, my name is joe.. and im the junior programming
From the example i given. I just wanna say.. i seems familiar with thats formatting number.

But i having trouble with Textbox that i set on Texboxt_textchanged event. Which i want to set a number when i write it in textbox and automatically transform to a number formatting (example: i write 20000, on my textbox write as 20.000), but on the same time id like to calculate my Textbox1 to my Textbox2)

Code:
Private Sub Textbox1_TextChanged(ByVal sender as .....)
Textbox1.Text = Format(Text_total.Text, "#,#")
Textbox2_total.Text = TextBox1.Text + 2)
End Sub
When i compile the code above.. its generate an error.. that said i cannot transfer string to integer..

ill try to convert back my TextBox1 with Format(TextBox1, "General Number") and calculate it but that not works..

can somebody help?