Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SIN
function returns the trigonometric sine of the specified angle in radians.
An Azure Cosmos DB for NoSQL system function that returns the trigonometric sine of the specified angle.
Syntax
SIN(<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.
Calculate sine of an angle
In this example, the SIN
function is used to calculate the sine of a specified angle.
SELECT VALUE {
sine: SIN(45.175643)
}
[
{
"sine": 0.929607286611012
}
]
Remarks
- This function doesn't utilize the index.