This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||
|
4D v20
COS
|
COS (arithmetic_expression) |
||
The COS function returns the cosine of the arithmetic_expression. The arithmetic_expression represents the angle expressed in radians.
This example will return the cosine of the angle expressed in radians (degrees * 180 / 3,1416):
SELECT COS(degrees * 180 / 3,1416)
FROM TABLES_OF_ANGLES;
Product: 4D
Theme: Functions
4D SQL Reference ( 4D v20)