Cos Function

Applies to TestComplete 15.45, last modified on December 01, 2022

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