Symfony\Component\Intl\NumberFormatter\NumberFormatter::round
Rounds a value.
Signature
private function round(integer|float
$value,
int
$precision )
Parameters
$value
— object- The value to round
$precision
— int- The number of decimal digits to round to
Returns
- integer|float
- The rounded value