Answers for "javascript max value of two numbers"

1

how to get the max value of two variables in math

(x sgn(x - y) + y sgn(-x + y) + x + y) / 2 
//This will return the maximum value withof if sentences (sgn = signum)
//Althouh 99% of the time some function max() is avalibale
Posted by: Guest on April-22-2021

Code answers related to "javascript max value of two numbers"

Browse Popular Code Answers by Language