← All built-ins / asin()
asin()
asin(mixed $number): float
Parameters
| Name | Type | Description |
|---|---|---|
| $number | float|int | value in [-1, 1] |
Return value
Arcsine in radians.
Example
echo round(asin(1), 4), " ", round(asin(0), 3);
1.5708 0
| Name | Type | Description |
|---|---|---|
| $number | float|int | value in [-1, 1] |
Arcsine in radians.
echo round(asin(1), 4), " ", round(asin(0), 3);
1.5708 0