(Reuters) -Gap Inc beat Wall Street estimates for quarterly sales and posted a profit on Thursday, helped by steady demand for its formal clothing and dresses even as decades-high inflation squeezes consumer spending. Shares of the company jumped about 11% in extended trading. Affluent consumers have been preferring more formal clothing, dresses, woven tops and pants, shelving casual wear like t-shirts and shorts as they return to travel, work and social occasions after two years of pandemic-induced restrictions. U.S. retail chain Macy’s Inc on Thursday signaled strong demand for high-end appa…