Browse Source

Pi funktion refactoring

remotes/origin/H.F.F/Taschenrechner
fdai7446 2 years ago
parent
commit
6093363c95
  1. 4
      Taschenrechner.java

4
Taschenrechner.java

@ -55,7 +55,7 @@ public class Taschenrechner {
return temp;
}
static double pie() {
static double pi() {
return Math.PI;
}
@ -142,7 +142,7 @@ public class Taschenrechner {
case 9:{
System.out.println("Pi\n");
System.out.println("Pi:" + pie());
System.out.println("Pi:" + pi());
break;
}

Loading…
Cancel
Save