def short_int(_int):
    """
    Returns a shorted representation of large numbers

    :param _int: Integer (or float) value
    :return:     String representation
    """
    if _int < 1000:
        return str(_int)
    elif _int < 1000000:
        return '{0:.4g}K'.format(_int / 1000)
    elif _int < 1000000000:
        return '{0:.4g}M'.format(_int / 1000000)
    else:
        return '{0:.4g}G'.format(_int / 1000000000)
