Support Board
Date/Time: Wed, 22 Jan 2025 15:50:04 +0000
Post From: Negative numbers
[2018-09-28 15:47:58] |
User907968 - Posts: 825 |
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)? |