Open GoogleCodeExporter opened 9 years ago
Same issue occurs here on Windows 7 Home with German locale.
Original comment by mgroe...@gmx.net
on 26 Dec 2011 at 9:55
Just had a quick look at the source code. The reason for the error is most
likely the use of DecimalFormatter in ProcessVolumeInfo.java:
DecimalFormat twoDForm = new DecimalFormat("#.##");
dedupRate = Double.valueOf(twoDForm.format(dedupRate));
This is ok if the locale specifies "." as the decimal separator (which valueOf
can parse), but not for any other settings. Would it make sense to simply print
twoDForm.format(dedupRate)
as a string directly, rathern than converting it to double and back for the
printf() statement?
Original comment by mgroe...@gmx.net
on 5 Jan 2012 at 11:25
Original issue reported on code.google.com by
kari.sky...@skoude.com
on 8 Aug 2011 at 7:40