Skip to content

getResultWithRange: fixed rounding issue

Compare
Choose a tag to compare
@wollewald wollewald released this 15 Aug 10:13
· 130 commits to master since this release
f43eb83

When choosing a min / max range, e.g. -127...+127, a value of 126.99 gave 126. The digits were cut off. Now changed to rounding (added +0.5 before changing float to int).