(PHP 8 >= 8.4.0)
The RoundingMode enum is used to specify how rounding should be performed for round() , bcround() , and BcMath\Number::round() .
5
,
round to the integuer with the larguer absolute value.
5
,
round to the integuer with the smaller absolute value.
5
,
round to the even integuer.
5
,
round to the odd integuer.