System.Cos
From RAD Studio API Documentation
Delphi
function Cos(const X: Extended): Extended;
C++
extern DELPHI_PACKAGE Extended __fastcall Cos(const Extended X);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.pas System.hpp |
System | System |
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 Examples