Math.hypot(x, y) â float
Class Public methods
Returns sqrt(x**2 + y**2), the hypotenuse of a right-angled triangle with sides x and y.
1 | Math.hypot( 3 , 4 ) #=> 5.0 |
Returns sqrt(x**2 + y**2), the hypotenuse of a right-angled triangle with sides x and y.
1 | Math.hypot( 3 , 4 ) #=> 5.0 |
Designed by : w10schools
service@w10schools.com
Please login to continue.