How to make a variable have a maximum value

or

local temp = 98.6
local counter = 93

print(math.max(temp,counter)) --98.6