How does Ripple decide on the exchange rate between different currencies? When A pays in USD but B receives EUR, how exactly does Ripple decide on the EUR/USD exchange rate?
Since Ripple has an integrated exchange, I guess it simply places market orders in its order book, trying to get the best overall price.

You find the order book in Advanced/Trade, if you want to try manually.