Closed christoph-heinrich closed 1 year ago
math.floor() can result in one value being off by 1 because one was just barely below the whole integer while the other one was not. (floating point numbers \o/) Adding 0.5 for actual rounding avoids that problem.
Closes #9
No way you found a fix!!! Thanks.
math.floor() can result in one value being off by 1 because one was just barely below the whole integer while the other one was not. (floating point numbers \o/) Adding 0.5 for actual rounding avoids that problem.
Closes #9