How do I convert this exponential number?
Posted on 2006-03-31
I have this number -1.34152189427569E+34 that I am trying to convert into a number I can use, but with the code below I just get it as a double, with the exponent on the end. I tried converting it to a decimal number type, but no dice. Help!
Dim a As Double
Dim num As String
Dim conv As Double
readcffile(1, 0) ' ignore
a = calculate(8520322, 6457197, 1, 0) ' ignore
num = a.ToString
TextBox1.Text = num
conv = Double.Parse(num, Globalization.NumberStyles.Float)