Java-Scanner locale of Germany returns 0 while summing up double values
<p>this is a small program using Java Scanner which reads a file of double values and sum it up.</p>

<p>I was verifying using certain locale's, and for German\Germany the value is zero.</p>

<p>Here is the code snippet,</p>

<pre><code>s= new Scanner((Readable) new BufferedReader(new FileReader("ScanNum")));
s.useLocale(Locale.GERMAN);
System.out.println(s.locale());
while(s.hasNextDouble())
{
sum+=s.nextDouble();
}
</code></pre>

<p>and the file which holds double values,
8.5
32,767
3.14159
1,000,000.1</p>

<p>other locales the value returned is1032778.74159.</p>

<p>Pls advise,
Thanks!!</p>
