Universeorange.com/Docs/
{math.hypot(Float $x, FLoat $y)}
{math.hypot()}
returns the length of the hypotenuse of a right-angle triangle with sides of length x
and y
, or the distance of the point (x, y)
from the origin.
This is equivalent to {math.sqrt(x*x + y*y)}
.
Returns the calculated length of the hypotenuse as a
float
.
https://www.php.net/manual/en/function.hypot.php
Last modified: 2021-06-07
© 2021 universeorange.com