Computes the length of the hypotenuse of a right triangle, given the lengths of the other two sides.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public static SalNumber Hypot(
	SalNumber nX,
	SalNumber nY
)

Parameters

nX
Type: PPJ.Runtime..::..SalNumber
The length of one side of a right triangle.
nY
Type: PPJ.Runtime..::..SalNumber
The length of another side of a right triangle.

Return Value

nHypotenuse

See Also