def convert(self, amount: Number, currency: str, to: str, reverse: bool=False) -> Number:
        """Convert amount to another currency"""
        rate = self.get_rate_for(currency, to, reverse)
        if self.return_decimal:
            amount = Decimal(amount)
        return amount * rate