Cos PowerScript function
Description
Calculates the cosine of an angle.
Syntax
1 |
<span>Cos</span> ( <span>n</span> ) |
Argument |
Description |
---|---|
n |
The angle (in radians) for which you |
Return Values
Double. Returns the cosine of n.
If n is null, Cos returns null.
Examples
This statement returns 1:
1 |
<span>Cos</span>(0) |
This statement returns .540302:
1 |
<span>Cos</span>(1) |
This statement returns -1:
1 |
<span>Cos</span>(Pi(1)) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest