```python
def is_num_decagonal(n):
    """
    Calculates the nth decagonal number.
    The formula for the nth decagonal number is D_n = 4n^2 - 3n.
    """
    if n > 0:
        return 4 * n**2 - 3 * n
    return 0
```