Double.IsNaN()
Imports System Module MyModule Sub Main() If (Double.IsNaN("1.2")) Then Console.WriteLine("Not a Number.") End If End Sub End Module