math.Atan2
Returns the arctangent, in radians, of the given number pair, determining the correct quadrant from their signs.
Syntax
math.Atan2 VALUE VALUE
Returns
float64
{{ math.Atan2 1 2 }} → 0.4636476090008061
Syntax
Returns
{{ math.Atan2 1 2 }} → 0.4636476090008061