Function __global->round
Definitions
sources_custom/phpstub.php
- Rounds a float.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: float
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$val | float | required parameter | N/A | N/A | Value to round |
$precision | integer | 0 | N/A | N/A | Number of decimal points of precision required (-ve allowed) |
$mode | integer | 1 | N/A | N/A | Rounding mode, a PHP_ROUND_* constant |
Return
- Rounded value
- Type: float
- Set: N/A
- Range: N/A