def center(number, rjust=4):
    """Center a number string about the decimal."""
    number = str(number)
    split = number.split('.')
    return ''.join((split[0].rjust(4), '.', split[1])) if len(split
        ) > 1 else split[0]
