sin()
returns the sine of a number.
Syntax: sin(expression)
Returns: A Float.
Arguments
Name | Description |
expression | A numeric expression that represents the angle in radians. |
Example
RETURN sin(1)
The value returned will be the sine of 1 radians, which is 0.8414709848078965.
Considerations
sin(null)
returnsnull
.
Example
RETURN sin(0.341)
Returns the following Result
sin(0.341) |
0.33442967990568484 |
Example
RETURN sin(-1.4)
Returns the following Result
sin(-1.4) |
-0.9854497299884601 |
Example
RETURN sin(0)
Returns the following Result
sin(0) |
0.0 |
Example
RETURN sin(null)
Returns the following Result
sin(null) |
null |
Note– sin(null)
returns null
.