def _format_code(code):
    """
    Format departement code (Add a 0 at the end if the length < 0).

    :returns: formatted code
    :rtype: str


    """
    if len(code) < 3:
        return code + '0'
    return code