Exchange Rate Flexibility, Volatility, and Domestic and Foreign Direct Investment · Study