On Apr 21, 2008, at 10:11 AM, Paul Williams wrote: > why does 8 mod 0.05 return 0.05 ? Mod is normally an integer operation, and as you wouldn't want to risk a divide by zero issue, perhaps it divides by at least 1? That would give a remainder that was equal to the fraction.