If the salary is paid in a foreign currency then firstly convert the sum paid to INR and then deduct TDS. You must consider the telegraphic transfer buying rate considered by the State Bank of India on the date of TDS deduction.