Number.max
max($otherNumber) -> number
Description
Get the higher value between this number and $otherNumber
.
See also List.max.
$num = 2 $num.max(3) //= 3 $num = 10 $num.max(1) //= 10 $num = -5 $num.max(-20) //= -5
Get the higher value between this number and $otherNumber
.
See also List.max.
$num = 2 $num.max(3) //= 3 $num = 10 $num.max(1) //= 10 $num = -5 $num.max(-20) //= -5