def to_pennies(money):
    """
    Return an integer of the amount of pennies contained within the given moneyed.Money object
    NOTE: The amount is in 'pennies', so a Money object of '1.00 USD' will return 100.
    Another version of this function might be required if amount is defined in other currencies.

    >>> to_pennies(Money('12.34', 'USD'))
    1234
    >>> to_pennies(from_amount_and_currency(1, 'USD'))
    1
    >>> to_pennies(from_amount_and_currency(0, 'USD'))
    0
    >>> to_pennies(from_amount_and_currency(123, 'USD'))
    123
    >>> to_pennies(from_amount_and_currency(-1234, 'USD'))
    -1234
    """
    return int(money.amount.shift(2))