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 2021 – PowerBuilder Library

Cos – PB Docs 2021

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