Could you use a method that would find the highest value out of a set of multiple different values in a few short lines of code, or would you have to do it the manual way with multiple lines of code?
✓ ANSWER ACCEPTED
Are there any shortcuts to determining what the highest value of a set of values is?
1 answer
✓ Accepted answer
You can use math.max() !!!
It returns the highest value that you provided it
local highest = math.max(3, 5, 2, 199234424)
print(highest) --199234424
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you!