Can anyone tell me, and maybe point to where it is in the manual, that it is 'against the rules' to use the modulus operator % with float or double variables in lite-c?
I get compile errors. float time = 0; {code} if(integer(time%1000)>(24*12)) {error} "Syntax error. Cant convert MOD:FLOAT:FLOAT:FLOAT"
Any suggestions? Is my code possibly bad or is there a trick I havent found?
Thanks in advance.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
Re: modulus and floats... why not?
[Re: EvilSOB]
#300683 12/04/0912:3412/04/0912:34