The dollar was down against the yen but gained compared to the euro .