Integrate input amount cleanup in currency exchange API.