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