Progress
SQL-92
Guide and Reference


COS Function

Returns the cosine of expression.

SYNTAX

COS ( expression ) 

EXAMPLE

This example illustrates the COS function:

select cos(45 * pi()/180) ’Cosine of 45 degrees’
     from sysprogress.syscalctable;
 
COSINE OF 45 DEG
---------------- 
0.707106781186548
 
1 record selected 

NOTES

COMPATIBILITY

ODBC Compatible


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095