Truncates money amount to the number of decimals corresponding to the currency

def truncate_money(money: Money) -> Money:
    """Truncates money amount to the number of decimals corresponding to the currency"""
    amount = truncate_to(money.amount, money.currency)
    return Money(amount, money.currency)