Results 1 to 9 of 9

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
    307
    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
    307
    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.

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
  •