This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
COS

COS 


 

COS ( value ) 
Parameter Type   Description
value  Real in Angle whose cosine is returned

The COS function returns the cosine of the angle specified in value. It accepts and returns numeric data.

In value, pass any real number (an angle) for which to return the cosine. It must be expressed in radians. If the angle is in degrees, multiply it by PI/180 to convert it to radians.

Example  

COS(45*PI()/180) //0.7071067812



See also 

ACOS
ASIN
SIN
TAN

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Formulas

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)