cos()

Usage

(angle).cos
cos (angle)
                                                

Description

Function (Lingo only); calculates the cosine of the specified angle, which must be expressed in radians.

In JavaScript syntax, use the Math object’s cos() function.

Parameters

angle Required. An integer that specifies the angle to test.

Example

The following statement calculates the cosine of PI divided by 2 and displays it in the Message window:

put (PI/2).cos

Назад

 

Hosted by uCoz