Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
What is modules operator in programing?
in php : 5 % 3 equals 2? why is that,, the remainder of that is 66666...7
5/3=1.66666667
What do they mean by 2 as being a remainder..why?
3 Answers
- peteamsLv 78 years agoFavorite Answer
No, the remainder is 2, the value you give is the fractional part.
Think back to your first few years at school, you will have been taught something like "five divided by three is one remainder two", the modulo operator is the grown up version of those early math lessons.
- jplatt39Lv 78 years ago
modulus operator to start with and second that .6666...7 is 2/3. Got that? Two thirds. Modulus is the remainder when there is one.