This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
COS
|
COS ( value ) | ||||||||
Parameter | Type | Description | ||||||
value | Real |
![]() |
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.
COS(45*PI()/180) //0.7071067812
Product: 4D
Theme: 4D View Pro Formulas
4D View Pro Reference ( 4D v19)