I've got a input in my program expecting a double:
Scanner in_num = new Scanner(System.in);
double num1 = in_num.nextDouble();
but in the uploading system it throws exception java.util.InputMismatchException
and I found out that it's because of the system writing a dot as a decimal point.
Is there a way in Java
to take a number with a dot as a decimal point instead of comma?