src/Ranges.php
public static function floatBetween(float $minimum, float $maximum): \Closure
	{
        if ($maximum <= $minimum)
            throw new \InvalidArgumentException('Maximum can not be lesser than or equal to minimum.');
        
		return function ($value) use ($minimum, $maximum)
		{
			return Types::float()($value) && ($value >= $minimum && $value <= $maximum);
		};
	}
public static function floatBetween(float $minimum, float $maximum): \Closure
	{
        if ($maximum <= $minimum)
            throw new \InvalidArgumentException('Maximum can not be lesser than or equal to minimum.');
        
		return function ($value) use ($minimum, $maximum)
		{
			return Types::float()($value) && ($value >= $minimum && $value <= $maximum);
		};
	}
@param float $minimum
@param float $maximum

@return \Closure