Zum Hauptinhalt springen

Hypotenuse

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

<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

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

<!-- 5.8309518948453 -->