In other languages, I use boolean results in equations. Is this possible in Lua? ‘true’,‘false’ seems to throw an error even though it is really 1,0
Example:
(math.fmod(2,y) == 0)*(20*.5)
This saves time and (in the past) processing over an if/then statement.