Results 1 to 15 of 15

Thread: What is the modulus operator?

  1. #1

  2. #2
    Registered
    Join Date
    May 2016
    Posts
    39
    The modulus operator outputs the remainder of a division. It makes use of the percentage (%) symbol. For example: 10 % 3 = 1, meaning when you divide 10 by 3, the remainder is 1.

  3. #3
    Thoughtgrid Thoughtgrid's Avatar
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    219
    These type of operator divide the value of one expression by value of another and return the reminder it is commonly used to take randomly generated number reduce that number to a random number on small range.

  4. #4
    In computing, the modulo operation finds the remainder after division of one number by another (sometimes called modulus). Given two positive numbers, a (the dividend) and n (the divisor), a modulo n (abbreviated as a mod n) is the remainder of the Euclidean division of a by n.

  5. #5
    Registered pxljobs's Avatar
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    290
    The modulus operator reminder of the division it give an absolute value of positive or negative value of the number.

  6. #6
    Registered
    Join Date
    Jan 2017
    Posts
    55
    In computing, the modulo operation finds the remainder after division of one number by another (sometimes called modulus). Given two positive numbers, a (the dividend) and n (the divisor), a modulo n (abbreviated as a mod n) is the remainder of the Euclidean division of a by n.

    Thank you~!

  7. #7
    Registered
    Join Date
    Nov 2016
    Posts
    649
    Java has one essential arithmetical administrator you may not be acquainted with, % , otherwise called the modulus or leftover portion administrator. The % administrator restores the rest of two numbers. For example 10 % 3 is 1 since 10 separated by 3 leaves a rest of 1.

  8. #8
    Registered
    Join Date
    Nov 2016
    Posts
    649
    Java has one essential arithmetical administrator you may not be acquainted with, % , otherwise called the modulus or leftover portion administrator. The % administrator restores the rest of two numbers. For example 10 % 3 is 1 since 10 separated by 3 leaves a rest of 1.

  9. #9
    Registered
    Join Date
    Nov 2017
    Posts
    12
    These type of owner split the value of one appearance by value of another and come back the indication it is widely used to take arbitrarily produced variety decrease time to a unique variety on small range.

  10. #10
    Registered
    Join Date
    Nov 2017
    Location
    Sao Paulo
    Posts
    159
    the modulus operator ('%'), that computes the remainder that results from performing integer division.It's generally used to check if one number is evenly divisible by another.

  11. #11
    Registered
    Join Date
    Oct 2016
    Posts
    270
    Modulus operator basically used to find a remainder when one number is divided by the other number.

    for eg:-(5%2), gives the remainder 1.

    4%2, gives the remainder 0.
    Best Android Training | Devops Training | SQL Server Training and many more IT courses.

  12. #12
    Registered
    Join Date
    Nov 2016
    Posts
    649
    Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards.

  13. #13
    Modulo operation( % ). The Modulus is the remains of the Euclidean division of one number by another.

  14. #14
    Registered
    Join Date
    Jul 2018
    Posts
    51
    Quote Originally Posted by Shivangi Panwar View Post
    What is the modulus operator?
    In Java, Modulus operator is an important operator that returns the remainder of two numbers.

  15. #15
    Registered
    Join Date
    Jul 2018
    Posts
    51
    Quote Originally Posted by Shivangi Panwar View Post
    What is the modulus operator?
    In Java, Modulus operator is an important operator that returns the remainder of two numbers.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •