Home Data Platform Cloud Reference Redpanda SQL Reference Functions Math cos Cloud Page options Copy as Markdown Copied! View as plain text Ask AI about this topic Add MCP server to VS Code cos The cos() function returns the cosine of a specified angle, expressed in radians. See also cosd() for an angle expressed in degrees. Syntax COS(x) Arguments x: An angle, in radians, of type real or double precision. Return type Same as the input type (real or double precision). Examples Basic usage SELECT COS(0); cos ----- 1 (1 row) Non-zero angle SELECT COS(1); cos -------------------- 0.5403023058681398 (1 row) Back to top Was this helpful? thumb_up thumb_down group Ask in the community mail Share your feedback 🎉 Thanks for your feedback! ceil cosd