```python
def decimal_to_binary(n):
    """
    Converts a decimal number to its binary equivalent.
    
    Args:
        n: An integer.
        
    Returns:
        A string representing the binary equivalent of n.
    """
    if not isinstance(n, int):
        raise TypeError("Input must be an integer.")
    
    if n == 0:
        return "0"
        
    # The built-in bin() function returns a string like '0b101' or '-0b101'.
    # We need to handle the prefix appropriately.
    binary_string = bin(n)
    if n >= 0:
        return binary_string[2:]
    else:
        # For negative numbers, bin() returns '-0b...', so we keep the '-'
        return '-' + binary_string[3:]

```