|
Hypotenuse Function |
Top Previous Next |
|
Calculates the length of the hypotenuse of a right triangle, given the length of the two sides sideOne and sideTwo .
Short form: "hypot".
Syntax
value = Hypotenuse( sideOne, sideTwo )
Parameters
Examples
value = Hypotenuse( 3, 4 ) ' Returns 5 value = Hypotenuse( 9, 16 ) ' Returns 25 |