I've come across a strange behaviour related to the modulus operator and floats. I'm sure this used to work (I used it in November 2006), but it does not work now. It seems that modulus does not tackle floats anymore. Try this: i1 = 5.3 i2 = i1 % 4 print i2 It prints 1.0 here, but I would expect it to print 1.3 best Oeyvind ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net