(PHP 5, PHP 7)
Rounds a variant to the specified number of decimal places
mixed variant_round ( mixed $variant, int $decimals )
Returns the value of variant
rounded to decimals
decimal places.
Parameters:
variant
The variant.
decimals
Number of decimal places.
Returns:
Returns the rounded value.
See also:
round() -
Please login to continue.