Cos Function

Applies to TestComplete 14.60, last modified on April 22, 2021

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