From Clomosy Docs

Revision as of 09:53, 27 February 2023 by ClomosyManager (talk | contribs) (Created page with "The ArcTan function is a mathematical function giving the value in radians of the Arc Tangent of Number.<br> PI radians = 180 degrees '''Example:'''<br> '''var''' floatValue : single;<br> '''const''' PI = 3.14;<br> '''begin''' // The ArcTan of PI/2 should give 1.0 floatValue := ArcTan(PI/2); ShowMessage('ArcTan of PI/2 = '+FloatToStr(floatValue)); '''end;'''")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The ArcTan function is a mathematical function giving the value in radians of the Arc Tangent of Number.

PI radians = 180 degrees

Example:

var
  floatValue : single;
const PI = 3.14;
begin // The ArcTan of PI/2 should give 1.0 floatValue := ArcTan(PI/2); ShowMessage('ArcTan of PI/2 = '+FloatToStr(floatValue)); end;