Quote from: bigsofty on 2023-Apr-07
I had problems with the INTEGER command iirc. It was producing weird rounding errors. I never liked how it rounded down from 0.9 to 0 either.
BTW, as long as you store a (floating point)number in an integer variable it will implicitly be cast to an integer so no need for direct casting.
I don't use GLBs RND function (I use my own) but doesn't that produce integers? If so then I don't think you need to use INTEGER at all in your code.