Convert exposent number to double

  • Thread starter Thread starter facicad
  • Start date Start date
* "facicad said:
How to convert number 0.17e-7 to 0.0000017

Store the number in a variable of, for example, type 'Double' and have a
look at the variable's 'ToString' method.
 
Dim d As Decimal = 0.000000017 ' 0.17e-7

Dim s As String = d.ToString("0.000000000")



-- Prester John
 
Herfried K. Wagner said:
Store the number in a variable of, for example, type 'Double' and
have a look at the variable's 'ToString' method.

Which format string would you pass? ;-) I didn't find one. I assumed it
should also work for 0.17e-6.
 
Back
Top