Returns the cosine of the specified angle.

Syntax

Smartsite SXML CopyCode image Copy Code
float math.cos(float a)

Parameters

Name Data Type Description
a Float An angle, measured in radians.

Return Value

Data Type Description
Float The cosine of the specified angle.

Expand image Example

SXML