Scanner nextDouble - decimal comma or point
View Single Post
10-31-2012, 02:05 AM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,598 Times in 2,567 Posts
Yeppers, Scanner is locale aware, so the number format is based on your system locale.
You can change it using the scanner's useLocale(Locale) method.
Users who have thanked Fou-Lu for this post:
View Public Profile
Find More Posts by Fou-Lu