Sine arch (inverse of sine) of specific number of radians.
1 math.asin
<math.asin>
<var /> +
</math.asin>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evar | number |
Returns | |
---|---|
Type | Description |
double | Result of the operation. |
Exceptions
at least 1 argument required
At least one argument is required.
illegal operator
illegal object types
Example
Copy
<xsql-script name='asin_sample1'> <body> <set name='result'><math.asin>0</math.asin></set> <println>asin(0) = <result/></println> --> asin(0) = 0.0 </body> </xsql-script>
Returns:
Copy
asin(0) = 0.0
Example
Copy
<xsql-script name='asin_sample2'> <body> <set name='result'><math.asin>1</math.asin></set> <println>asin(1) = <result/></println> --> asin(1) = 1.5707963267948966 </body> </xsql-script>
Returns:
Copy
asin(1) = 1.5707963267948966