Cos Function

Applies to TestComplete 14.10, last modified on June 5, 2019

The Cos function returns the cosine of an angle.

Declaration

Cos(AngleValue) Parameters
AngleValue [in] Required Float
Result     Float  

Description

Returns the cosine of the angle, which is specified in radians.

Parameters

The procedure has the following parameter:

AngleValue

Specifies the angle in radians.

Return Value

A float value that holds the cosine of the specified angle. If AngleValue is empty, Cos returns 1.

See Also

DelphiScript - List of Supported Routines and Variables
Sin

Highlight search results