Created
May 3, 2018 09:31
-
-
Save hlassiege/91e6a78c3ad775d40c5844d302beebc5 to your computer and use it in GitHub Desktop.
numberformat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NumberFormat nf = NumberFormat.getInstance(); // pour utiliser la Locale courante | |
ou | |
NumberFormat nf = NumberFormat.getInstance(Locale.FRENCH); // pour spécifier une Locale | |
myNumber = nf.parse(myString); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment