+ 1
In Java you can use the % operator on doubles the same as on integers:
16th Jun 2016, 8:06 AM
James Flanders