How do I find the modulo (%) of two long values in Java? My code says \'Integer number too large\' followed by the number I\'m trying to mod. I tried casting it to a long bu
You can also try working with the BigInteger class which has a remainder() method that works similarly to %.