Hi
how can I format one text box to currency?
Printable View
Hi
how can I format one text box to currency?
If you had this for example:
vb Code:
Dim myMoney As Decimal = 23.24vb Code:
'for local currency - so for me this would be UK Sterling, £23.24 Textbox1.text = myMoney.toString("C")vb Code:
'If you want a different currency other than your local currency (if i wanted dollars for example): Me.TextBox1.Text = myMoney.ToString("$00.00")
It worked Thanks