chhogg
January 25th, 2003, 02:43 PM
I need to know the difference between the modulus operator and the remainder operator. Most everything that I have found seems to use the terms interchangeably, and where it doesn't, the only difference is that for a particular language one of them is defined for floating-point numbers while the other is not.
I did find one source that seemed to indicate that both operators are available in Java and that there are situations where they would not return the same value, but it did not mention what those situations would be.
Thanks
I did find one source that seemed to indicate that both operators are available in Java and that there are situations where they would not return the same value, but it did not mention what those situations would be.
Thanks