I have an ever increasing number but I would like it just to 'loop' within the 0-1 range. I know this is not possible with modulo since the numbers must be larger than that range.
Is there any way to do with without multiplying the number before the modulo, then dividing it after. Seems a bit of a hack way of doing things.
Many thanks for any help!