Query about mod operator
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Mon Apr 21 10:38:34 EDT 2008
Hi Paul,
Le 21 avr. 08 à 16:11, Paul Williams a écrit :
> why does 8 mod 0.05 return 0.05 ?
As the docs say: Evaluates to the remainder left over when one number
is divided by another.
I assume this means that you can't use a value < 1 because it would
not be a division but a multiplication.
And I don't know how to get the remainder of a multiplication ;-)
Anyway, the engine should throw an error and the docs could be
clearer...
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list