def sign(amount: float | int) -> str:
    """Returns a string representing the sign of the given amount."""
    if amount < 0:
        return "-"
    elif amount > 0:
        return "+"
    else:
        return ""