.Net CultureInfo.InvariantCulture in Java

Posted by mizipzor on Stack Overflow See other posts from Stack Overflow or by mizipzor
Published on 2010-03-30T08:31:29Z Indexed on 2010/03/30 8:33 UTC
Read the original article Hit count: 814

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about java