Nata
Norint pasiekti šį puslapį, reikalingas leidimas. Galite pabandyti prisijungti arba pakeisti katalogus.
Norint pasiekti šį puslapį, reikalingas leidimas. Galite pabandyti pakeisti katalogus.
The COS function calculates the trigonometric cosine of the specified angle in radians.
Syntax
COS(<numeric_expr>)
Arguments
| Description | |
|---|---|
numeric_expr |
A numeric expression. |
Return types
Returns a numeric expression.
Examples
This section contains examples of how to use this query language construct.
Cosine of a value
In this example, the COS function is used to calculate the cosine of 14.78 radians.
SELECT VALUE {
cosine: COS(14.78)
}
[
{
"cosine": -0.5994654261946543
}
]
Remarks
- This function doesn't utilize the index.