How to convert byte to double in VB.NET

1 Answer

0 votes
Imports System

Public Class Program
    Public Shared Sub Main(ByVal args As String())
        Dim byteValue As Byte = &H40
		
        Dim doubleValue As Double = CDbl(byteValue)
        
		Console.WriteLine(doubleValue)
    End Sub
End Class


' run:
'
' 64
'

 



answered Mar 17, 2025 by avibootz

Related questions

1 answer 198 views
1 answer 115 views
115 views asked Oct 4, 2021 by avibootz
2 answers 163 views
2 answers 210 views
...