To test a "globalized code" I have created three Windows7 users: english, italian and french, downloading the related languages and setting the related language properties.
The test code:
does print nothing for english and italian users... but for the french user the code returns:
Not Numeric Flag: 0.16
I don' understand why... the code is clear: "CultureInfo.InvariantCulture", the "dot" as decimal separator is numeric... or not?
The test code:
Code:
Dim Flag as String = "0.16"
If Not IsNumeric(Flag.ToString(CultureInfo.InvariantCulture)) Then
Debug.Print("Not Numeric Flag: " & Flag.ToString(CultureInfo.InvariantCulture) )
End IfNot Numeric Flag: 0.16
I don' understand why... the code is clear: "CultureInfo.InvariantCulture", the "dot" as decimal separator is numeric... or not?