def addThousandSeparator(num, character='.'):
    """Formats the number into a string and adds a `character` for every thousand (eg. 3000 -> 3.000)
    Parameters
    ----------
    num : int
        integer number to format
    character : str
        character to act as the thousand separator

    Returns
    -------
    number : str
        a string representing that number with added `character` for every thousand
    """
    return '{0:,}'.format(int(num)).replace(',', character)