Function __global->tan
Definitions
sources_custom/phpstub.php
- Calculate the tangent 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 in radians |
Returns
- The tangent
- Type: float
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Calculate the tangent of an angle.
*
* @param float $arg The angle in radians
* @return float The tangent
*/
function tan(float $arg) : float
* Calculate the tangent of an angle.
*
* @param float $arg The angle in radians
* @return float The tangent
*/
function tan(float $arg) : float

