Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Cos – PB Docs 150 – PowerBuilder Library

Cos – PB Docs 150

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 Values

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 DataWindow Reference or
    online Help


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