Hallo.
Kann mir jemand sagen was Modulo bzw. Rest ist?
Zum Beispiel:
double a = 127, b = 8, c = 3, x;
x = a % b;
System.out.println(x);
Ergebnis: x = 7.0
Wie rechnet Java mit Modulo? Wie rechnet man in der Mathematik mit Modulo?
Danke.
Kann mir jemand sagen was Modulo bzw. Rest ist?
Zum Beispiel:
double a = 127, b = 8, c = 3, x;
x = a % b;
System.out.println(x);
Ergebnis: x = 7.0
Wie rechnet Java mit Modulo? Wie rechnet man in der Mathematik mit Modulo?
Danke.