Notă
Accesul la această pagină necesită autorizare. Puteți încerca să vă conectați sau să modificați directoarele.
Accesul la această pagină necesită autorizare. Puteți încerca să modificați directoarele.
The SIN function returns the trigonometric sine of the specified angle in radians.
An Azure Cosmos DB 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.