Not much different that in Vb6, I used the same tehnique in both languages. If you want to assign value from textbox to double variable, then you would use above method I posted. However, if you want to format value from double variable to be displayed on textbox with 2 decimal places, you would use
Me.txt_InspectionFee.Text = dblTaxValue1.ToString("N2"
Me.txt_InspectionFee.Text = dblTaxValue1.ToString("#,#
Goran
Main Topics
Browse All Topics





by: Priest04Posted on 2007-07-10 at 14:30:56ID: 19457975
dblTaxValue1 = Convert.ToDouble(Me.txt_In spectionFe e.Text)
Goran