Imports System.Numerics
Imports System
Imports System.Globalization
Module Example
Public Sub Main()
Dim numericString As String
Dim number As BigInteger = BigInteger.Zero
numericString = "9 999 999 666 999 999,00"
If BigInteger.TryParse(numericString, NumberStyles.Any,
New CultureInfo("fr-FR"), number) Then
Console.WriteLine("'{0}' was converted to {1}.",numericString, number)
Else
Console.WriteLine("Conversion of '{0}' to a BigInteger failed.",numericString)
End If
End Sub
End Module