Description |
Returns the ArcTangent (ATan) value in radians of the given Number.
|
| Notes | Static methods are not methods of an object - they are simply class functions or procedures available at any time.
|
|
Microsoft MSDN Links |
System
System.Math
|
|
|
A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
float : Double;
begin
// The ArcTan of 1.0 should give 45 degrees
float := System.Math.ATan(1.0);
// Convert to degrees to show the value
float := float * 180 / PI;
Console.WriteLine('ATan(1.0) = {0} degrees', float.ToString);
Console.ReadLine;
end.
| Show full unit code | ATan(1.0) = 45 degrees
|
|
|
|