How do I get the remainder of a division?
Category: fundamental, viewed: 520 time(s).
The remainder or modulus operator (%) let you get the remainder of a division of a two numbers. This operator can be used to obtain a reminder of an integer or floating point types.
Here is the result of the program:
The result of 10 % 5 = 0 The result of 49.0 % 9.5 = 1.5
Can't find what you are looking for? Join our FORUMS and ask some questions!
Download Hundreds of Complimentary Industry Resources
Get hundreds of popular Industry magazines, white papers, webinars, podcasts, and more;
all available at no cost to you. With more than 600 complimentary offers, you'll find
plenty of titles to suit your professional interests and needs.
Click Here and Sign up today!
