Difference between revisions of "COS()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 31: | Line 31: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Numeric Data]] | ||
+ | [[Category:Numeric Data Functions]] |
Revision as of 08:58, 2 June 2009
Class
Numeric Data
Purpose
Function to return cosine value
Syntax
COS(<expN>)
See Also
ACOS(), ASIN(), ATAN(), ATN2(), DTOR(), EXP(), LOG(), LOG10(), PI(), RTOD(), SET DECIMALS, SET FIXED, SIN(), TAN()
Description
The COS() function returns the cosine of the angle <expN> expressed in radians. The DTOR() function can be used for converting degrees to radians. The SET DECIMALS command determines the number of decimal places returned.
Example
set decimals to 6 ? cos(dtor(30)) 0.866025
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer