PHP funkce hypot()
Dostupnost ve verzích: PHP 4.1.0
Calculate the length of the hypotenuse of a right-angle triangle
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$x |
float |
není | Length of first side |
$y |
float |
není | Length of second side |
Návratové hodnoty
float
Calculated length of the hypotenuse