Math.atan2

From Data Realms Wiki

Jump to: navigation, search
Function
Syntaxmath.atan2( number y, number x )
Description:
Returns the arc tangent of y/x (in radians), but uses the signs of both parameters to find the quadrant of the result. (It also handles correctly the case of x being zero.)
Returnsnumber Number




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools