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 195 views
1 answer 159 views
1 answer 166 views
1 answer 265 views
3 answers 287 views
1 answer 137 views
1 answer 120 views
...