You can try using ceil or floor :variable01=2variable02=3.2someVariable=variable01 - variable02if ((someVariable - floor someVariable) == 0)then( print integer)else( print float)
Hey, stuck on something really simple here. I've got a simple line of code: if classOf (variable01 - variable02) == integer then( print integer)else( print float) The problem being that when Max is given two integers it'll always round. If I supply the two variables as floats and it get number.0 then it'll still be a float…