About 5,620,000 results
Open links in new tab
  1. modulo - What's the syntax for mod in Java? - Stack Overflow

    The modulo operation returning only non-negative results, Rob referred to this as "mod", is called Euclidean modulo in this answer. The answer calls the behavior of Java's remainder operator …

  2. Using the modulo operator in java - Stack Overflow

    Aug 5, 2019 · Using the modulo operator in java Asked 6 years, 4 months ago Modified 6 years, 4 months ago Viewed 10k times

  3. java - ¿Cómo funciona el operador %? - Stack Overflow en español

    Alguno me puede explicar cómo funciona el operador %: ¿Qué es?¿Cuál es la lógica detrás de ese operador?¿Qué es lo que hace y qué es lo que devuelve? Por ejemplo, el siguiente …

  4. ¿Cómo utilizar MOD en Java? - Stack Overflow en español

    Sep 25, 2017 · Me podrían ayudar a realizar un programa en JAVA. En el cual ingreso cualquier numero y de como resultado que números se pueden dividir entre 5,3,2 sin dejar residuos. por …

  5. java - How do I use modulus for float/double? - Stack Overflow

    Jun 1, 2010 · I'm creating an RPN calculator for a school project and having trouble with the modulus operator. Since we're using the double data type, modulus won't work on floating …

  6. How does java do modulus calculations with negative numbers?

    Am I doing modulus wrong? Because in Java -13 % 64 evaluates to -13 but I want to get 51.

  7. math - Mod in Java produces negative numbers - Stack Overflow

    Mar 22, 2011 · When I calculate int i = -1 % 2 I get -1 in Java. In Python, I get 1 as the result of -1 % 2. What do I have to do to get the same behavior in Java with the modulo function?

  8. java - Check whether number is even or odd - Stack Overflow

    Sep 8, 2011 · How would I determine whether a given number is even or odd? I've been wanting to figure this out for a long time now and haven't gotten anywhere.

  9. Understanding The Modulus Operator - Stack Overflow

    Jul 8, 2013 · The modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the modulus of the operation. …

  10. ¿Qué es el module-info de java y para qué se utiliza?

    Jul 27, 2019 · Como no contienen fichero descriptor (module-info.java), se registran con el mismo nombre de la librería, es decir, nombreDelFichero.jar (Donde el .jar, obviamente, no será parte …