In .Net when handling numbers with unspecified locale I use:
return double.Parse(myStr, CultureInfo.InvariantCulture.NumberFormat);
Whats the equivalent in Java? java.util.Locale
doesnt seem to include such a thing.
In .Net when handling numbers with unspecified locale I use:
return double.Parse(myStr, CultureInfo.InvariantCulture.NumberFormat);
Whats the equivalent in Java? java.util.Locale
doesnt seem to include such a thing.