Cos – PB Docs 2017

Cos

PowerScript function

Description

Calculates the cosine of an angle.

Syntax

Argument

Description

n

The angle (in radians) for which you want the
cosine

Return value

Double.

Returns the cosine of n. If n is null, Cos returns null.

Examples

This statement returns 1:

This statement returns .540302:

This statement returns -1:

See also

ACos

Pi

Sin

Tan

Cos method for DataWindows in the section called “Cos” in DataWindow Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x