Yesterday, 09:28 PM
(Yesterday, 09:14 PM)a740g Wrote: I am guessing from the image that you want to get the max of 3 numbers.
Code: (Select All)maxOfThree = _IIF(a > b, _IIF(a > c, a, c), _IIF(b > c, b, c))
Less writing:
Code: (Select All)
maxOfThree = _MAX(_MAX(a, b), c)
GuiTools, Blankers & other Projects:
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23
https://qb64phoenix.com/forum/forumdisplay.php?fid=32
Libraries & useful Functions:
https://qb64phoenix.com/forum/forumdisplay.php?fid=23