I'm having problem regarding a text box max length.
If i set it manually from the properties tab (i set it to 10), output would like
"10000000.0"
What i want is that it would be "1000000000.00". So i tried using this code:
Private Sub txtrate_LostFocus()
If txtrate.Text = vbNullString Then txtrate.Text = FormatNumber(0, 2)
txtrate.Text = FormatNumber(txtrate.Text, 2)
End Sub
But still doesn't work. Any idea?