Support Board
Date/Time: Fri, 03 May 2024 22:14:07 +0000
Post From: Negative numbers
[2018-09-28 15:47:58] |
User907968 - Posts: 802 |
If OPL is zero, then if(OPL >= MaxL) will return true, as 0 is greater than -40. What happens if OPL = -41? Does it still return true? Did you try if(OPL <= MaxL)? |