def dividends_per_share(dividends, shares_outstanding):
    """Computes dividends per share.

    @params
    -------
    dividends: Common dividends declared
    shares_outstanding: weighted average number of ordinary shares outstanding

    returns
    -------
    Dividends per share, int or float

    explanation
    -----------

    """
    return dividends / shares_outstanding
