public function float(float $min, float $max)
    {
        if ($max < $min) {
            throw new ResponseCode('max must be greater than min', 422);
        }

        return rand((int) $min * 100, (int) $max * 100) / 100;
    }