Hi,<br><br>I'm sure this is painfully obvious, but forgive me for asking. <br><br>I know that the modulo operator (%) returns the remainder of a divison so that for example<br>10 % 3 would be 1 ...
I get a comile error "double % doouble is illegal". Is there a way to take mod of two doubles (or a double and an int would work too). Thanks. You can't use the ...
Here's everything you need to know about Java operators and operator types, and how to use them to write expressions for your Java programs. In this tutorial, you will learn how to write expressions ...