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 201 views
1 answer 118 views
118 views asked Oct 4, 2021 by avibootz
2 answers 166 views
2 answers 217 views
...