Results 1 to 6 of 6

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~!

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
  •