Convert.ToDouble (SByte) converts 8-bit signed integer to double-precision floating-point number.
Module Example
Public Sub Main()
Dim numbers() As SByte = { SByte.MinValue, -23, 0, 17, SByte.MaxValue }
Dim result As Double
For Each number As SByte In numbers
result = Convert.ToDouble(number)
Console.WriteLine("Converted the SByte value {0} to {1}.", number, result)
Next
End Sub
End Module
Related examples in the same category