```python
def binary_to_decimal(binary):
    """
    Converts a binary string to its decimal equivalent.

    Args:
        binary: A string representing a binary number (e.g., "1011").

    Returns:
        The integer decimal equivalent of the binary number.
    """
    decimal_value = int(binary, 2)
    return decimal_value
```