Tan – PB Docs 2018

Tan

PowerScript function

Description

Calculates the tangent of an angle.

Syntax

Argument

Description

n

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

Return value

Double.

Returns the tangent of n. An execution error occurs if n is not
valid. If n is null, Tan returns null.

Examples

Both these statements return 0:

This statement returns 1.55741:

See also

ATan

Cos

Pi

Sin

Tan method for DataWindows in the section called “Tan” 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