SQLite COS() Function
Definition and Usage
The COS() function returns the cosine of a number. The number is an angle in radians.
Note: Some SQLite builds do not include the math functions, because they need the compile option SQLITE_ENABLE_MATH_FUNCTIONS. They work in our editor.
Syntax
COS(number)
Parameter Values
| Parameter | Description |
|---|---|
| number | Required. An angle, in radians |
Technical Details
| Return type: | Real |
|---|---|
| Works in: | SQLite 3.35.0 and later |