Maths was all about metric not feet and inchs when i was in school so i have no idea how to write feet and inches, i think its like 11' 11 1/16"
When i use this:
I get 3.28083, it will never give me a value with "x amount of feet and 11 inches" no matter what i put as the mMetric variable as it will always work on 10 units not 12.Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim mMetric As Double ="1.0" '1 meter 'convert to feet Me.TextBox2.Text = CStr(mMetric * 3.28083) End Sub
How can i get a accurate conversion?
regards
toe




Reply With Quote