Cos
Jump to navigation
Jump to search
Returns the cosine of the argument (X is an angle, in radians).
- Declaration
function Cos(X: Real): Real;
- Target
- Windows, Real, Protected
- Remarks
- X is a real-type expression. The result is the cosine of X where X represents an angle in radians.
Sample Code
{Cos.PAS} {Sample code for the Cos function.} var R: Real; begin R := Cos(Pi); end.