หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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.