Skip to main content

Hypotenuse

Anatomy

<math:hypot var="var" x="float" y="float"/>

Description: MATH:HYPOT calculates the length of the hypotenuse of a right-angle triangle.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name math:hypot
xfloatAbscissa math:hypot
yfloatOrdinate math:hypot

Results:

BindingTypePredicate
varfloatN/A

Examples

Example

<output>
<math:hypot x="3" y="5"/>
</output>

<!-- 5.8309518948453 -->