protected function roundTo(float $number, int $increments = 5): float
	{
		$increments = 1 / $increments;

		return (ceil($number * $increments) / $increments);
	}
protected function roundTo(float $number, int $increments = 5): float
	{
		$increments = 1 / $increments;

		return (ceil($number * $increments) / $increments);
	}
protected function roundTo ( float $ number , int $ increments = 5 ) : float { $ increments = 1 / $ increments ; return ( ceil ( $ number * $ increments ) / $ increments ) ; }
Rounds a number to the nearest incremental value.

@param float   $number
@param integer $increments

@return float
Rounds a number to the nearest incremental value .