xxxxxxxxxx
This example returns the highest number in a list of number arguments
<body>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = Math.max(1,2,3);
</script>
</body>
returns 3
xxxxxxxxxx
#Returns the number with the highest value.
#If the values are strings, an alphabetical comparison is done.
x = max(-5, 12, 27)
print(x)#Prints 27 to the console.
xxxxxxxxxx
proc sql;
select max(my_value) as max_of_my_value
from work.my_data;
quit;