Function __global->sin
Definitions
sources_custom/phpstub.php
- Calculate the sine of an angle.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: float
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $arg | float | No | No | required parameter | N/A | N/A | The angle |
Returns
- The sine of the angle
- Type: float
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Calculate the sine of an angle.
*
* @param float $arg The angle
* @return float The sine of the angle
*/
function sin(float $arg) : float
* Calculate the sine of an angle.
*
* @param float $arg The angle
* @return float The sine of the angle
*/
function sin(float $arg) : float
