-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse floating point values using current default locale
Fixes #55 : Locales that use a decimal separator other than dot "." would throw NumberFormatException when parsing the content of the Estimated field. Detected three other places in the code that would also parse potentially locale-formatted strings with the universal .valueOf() parsing methods that expect dots. Changed them to use an instance of NumberFormat instead.
- Loading branch information
Adrian Wilkins
committed
Feb 6, 2015
1 parent
2dd885d
commit f59f243
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
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
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