the text property of a textbox is a string. you can't round, or format a string like that:

Code:
Textbox1.Text = val(Textbox1.text.Tostring("f2"))