Question: remainder division with floats

I understand this: 23 mod 4

 - it gives me the remainder on dividing 23 by 4

But how can I do the same thing with, say, 23.4 and 5.2?

The reason I ask is because I want to divide angles (float values) by (2*Pi) (another float) and just get the remainder, i.e. I want to discard multiples of (2*Pi) from my angle.

Please Wait...