def print_formatted_length(value):
    """Print a human readable length."""
    if '.' in value:
        print(format_length(float(value)))
    else:
        print(format_length(int(value)))
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/cli.py/print_formatted_length/original