System.Cos

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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 Object Pascal 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