Calc.Hypot Method

Computes the length of the hypotenuse of a right triangle given the length of the catheti.
Public Shared Function Hypot( _ 
ByVal x As Double, _ 
ByVal y As Double
) As Double
This language is not supported or no code example is available.
public static double Hypot( 
double x
double y 
)
This language is not supported or no code example is available.
public:  
static double Hypot( 
double x
double y 
)
This language is not supported or no code example is available.
public static function Hypot( 
x : double
y : double 
) : double;
This language is not supported or no code example is available.

Parameters

x
double

Length of first leg.

y
double

Length of second leg.

Return Value

double

The length of the hypotenuse.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition