System.Cos
From RAD Studio VCL Reference
Contents |
Delphi Information
From System.pas
function Cos(const X: Extended): Extended;
Unit: System
Type: function
Visibility: public
C++ Information
From System.hpp
long double __fastcall Cos(long double X);
Unit: System
Type: function
Description
Calculates the cosine of an angle.
In Delphi code, Cos returns the cosine of the angle X.
X is a real-type expression that represents an angle in radians.
See Also
Code Samples