WanMil wrote
> So if you are english everything is fine but if you are german your
> numbers are formatted and parsed with the "," as decimal separator.
>
> I don't know what locale is the best to use but something like
> new DecimalFormat("0.0#", DecimalFormatSymbols.getInstance(Locale.US));
> should work. What do you think?
Sounds reasonable. I did never read the details about this class. I only
wondered why Double.valueOf() is
not good enough to parse a string.
Gerd
--
View this message in context:
http://gis.19327.n5.nabble.com/Optimization-for-ExtTypeAttributes-tp5743637p5743829.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev