Categories: Math
COS
Computes the cosine of a value in radians
Syntax
COS(numeric_expression NUMERIC) → FLOAT
- numeric_expression: The number in radians. This must be DOUBLE, INTEGER, or FLOAT.
Examples
COS exampleSELECT COS(0)
-- 1.0
SELECT COS(1.0)
-- 0.5403023058681398
SELECT COS(-1)
-- 0.5403023058681398
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.