In this example the first (home) currency is Euro and the second (foreign) is USD. But this applies to all currencies.
Input the value in the text field on the top left using the numerical pad
Select the EUR → USD button to convert from EUR to USD
Select the USD → EUR button to convert from USD to EUR
This will either show the USD value you have entered for the amount of Euro, or the Euro amount for the USD value you entered.