Search:

Type: Posts; User: rags_to_riches

Search: Search took 0.03 seconds.

  1. Replies
    8
    Views
    1,040

    The remainder of 2 divided by 2 is 1? Not on the...

    The remainder of 2 divided by 2 is 1? Not on the my planet Earth. 2%2 returns the remainder of the division, not the result of the division.
  2. Replies
    8
    Views
    1,040

    ((2%2) == 0) What is the result of 2%2? 0. (The...

    ((2%2) == 0)
    What is the result of 2%2? 0. (The remainder of 2 divided by 2 is 0)
    ((0) == 0)
    Does 0 == 0? Of course, so it evaluates as a boolean true.
Results 1 to 2 of 2