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 204 views
1 answer 165 views
1 answer 168 views
1 answer 272 views
3 answers 292 views
1 answer 145 views
1 answer 122 views
...