The dollar climbed to the highest level in three months, propelled by a weakening yen and the Federal Reserve pulling back from additional interest-rate cuts this year.