Re: [android-developers] Localization of String.format causing problems

2012-01-26 Thread Mark Murphy
http://stackoverflow.com/questions/5236056/force-decimal-point-as-seperator-in-java On Thu, Jan 26, 2012 at 8:05 AM, RLScott wrote: > My app writes files with strings generated by code like: > > s = String.format("%6.2f\r\n", zValue); > > where zValue is a float.  Then it reads those files back i

[android-developers] Localization of String.format causing problems

2012-01-26 Thread RLScott
My app writes files with strings generated by code like: s = String.format("%6.2f\r\n", zValue); where zValue is a float. Then it reads those files back in later and parses them, expecting to see a number with a decimal point (.). This works fine for my phone and for all the Android devices in