I'm trying to convert some JavaScript code into Java, but I do not know what the %
character between two numeric variables does:
testvalue = somevalue%anothervalue;
What does this mean or what would the same statement be in Java?
I also have this in JavaScript:
if(somevalue%2 == 1){
}
What does %2
mean here?