Commit dc72d5d1 by patryk

.

parent 81d102bb
package waluty; package waluty;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Locale;
import java.util.Optional; import java.util.Optional;
import java.util.Scanner; import java.util.Scanner;
...@@ -14,6 +15,7 @@ public class ProstyPrzelicznik { ...@@ -14,6 +15,7 @@ public class ProstyPrzelicznik {
public static void main(String[] args) { public static void main(String[] args) {
Pobieranie pobieranie = Pobieranie.utworz("JSON"); Pobieranie pobieranie = Pobieranie.utworz("JSON");
Scanner scanner = new Scanner(System.in); Scanner scanner = new Scanner(System.in);
scanner.useLocale(Locale.US);
System.out.println("Podaj datę lub naciśnij enter, aby pobrać najnowsze kursy:"); System.out.println("Podaj datę lub naciśnij enter, aby pobrać najnowsze kursy:");
String data = scanner.nextLine(); String data = scanner.nextLine();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment