How to set scientific notation value to double variable in VB.NET

1 Answer

0 votes
Imports System

Public Class Example
    Public Shared Sub Main(ByVal args As String())
        Dim scientificd As Double = 1.23456e4
		
        Console.WriteLine("double scientific notation: " & scientificd)
    End Sub
End Class



' run:
'
' double scientific notation: 12345.6
'

 



answered Aug 1, 2022 by avibootz

Related questions

1 answer 223 views
1 answer 174 views
1 answer 177 views
1 answer 280 views
3 answers 302 views
1 answer 153 views
1 answer 127 views
...