Imports System.Numerics
Imports System
Imports System.Globalization
Module Example
Public Sub Main()
Dim number As BigInteger
Try
number = BigInteger.Parse(" -9999 ", NumberStyles.AllowLeadingWhite Or NumberStyles.AllowTrailingWhite)
Console.WriteLine(number)
Catch e As FormatException
Console.WriteLine(e.Message)
End Try
End Sub
End Module