ATN2()

From Recital Documentation Wiki
Revision as of 10:43, 24 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Numeric Data


Purpose

Function to return the angle size for the specified cosine and sine values of a given point


Syntax

ATN2(<expN1>, <expN2>)


See Also

ACOS(), ASIN(), ATAN(), COS(), DTOR(), EXP(), LOG(), LOG10(), PI(), RTOD(), SET DECIMALS, SET FIXED, SIN(), TAN()


Description

The ATN2() function returns the angle size, in radians, for the specified cosine and sine values of a given point. <expN1> and <expN2> represent the cosine and sine values, respectively. The angle size is returned as a numeric in radians. The SET DECIMALS command determines the number of decimals displayed in the returned angle size.


Example

set decimals to 4
?atn2(0.5000,0.8660)
    0.5236


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer