@staticmethod
def display_time(seconds, precision=3):
    """
        method to display time in human readable format
        :param seconds: Number of seconds
        :param precision: Decimal precision
        :return: String
        """
    intervals = [('weeks', 604800), ('days', 86400), ('hours', 3600), (
        'minutes', 60), ('seconds', 1)]
    result = list()
    dtype = type(seconds).__name__
    if dtype != 'int' or dtype != 'long' or dtype != 'float':
        try:
            seconds = float(seconds)
        except (TypeError, ValueError, NameError):
            print('Type not coercible to Float')
    for name, count in intervals:
        if name != 'seconds':
            value = seconds // count
            if value:
                seconds -= value * count
                if value == 1:
                    name = name.rstrip('s')
                value = str(int(value))
                result.append('{v} {n}'.format(v=value, n=name))
        else:
            value = '{:.{p}f}'.format(seconds, p=precision)
            result.append('{v} {n}'.format(v=value, n=name))
    return ' '.join(result)
