(b) In any case in which the cause of action is based upon an obligation denominated in a currency other than currency of the United States, a court shall render or enter a judgment or decree in the foreign currency of the underlying obligation. Such judgment or decree shall be converted into currency of the United States at the rate of exchange prevailing on the date of entry of the judgment or decree.