Field-Map Scripting

4.1.3.1.6 Cos

Cos function


Prototype:

function Cos(const x: extended): extended;

Description:

The Cos function returns the cosine of the angle X in radians.

Syntax:

variable := Cos(X);


Part

Description


variable

A variable declared as extended


X

Extended value of an angle in radians

Return value:

The cosine of the angle X in radians



See also:

Power; Round; RoundTo, RoundVariant; Round2int, Cos; ArcCos; ArcCosH; Sin; ArcSin; ArcSinH; ArcTan; ArcTan2; ArcTanH; CosH; SinH; Tan; TanH; Random; RandomRange; Randomize; Floor; Ceil; Int; Frac; Log10; Ln; Exp; Abs; Min; Max; Odd; SecondsBetween;CompareValue; SameValue; Trunc


Example