shares of walmart inc wmt shot up 66 toward a sixmonth high in premarket trading tuesday after the discount retail behemoth swung to a net thirdquarter loss due to 33 billion in charges related to opioid legal settlements but adjusted profit revenue and samestore sales that were well above expectations and a fullyear outlook that was above forecasts the net loss for the quarter to oct 31 was 180 billion or 66 cents a share after net income of 311 billion or 111 a share in the yearago period excluding nonrecurring items such as the opioid charge adjusted earnings per share of 150 beat the factset consensus of 132 revenue grew 87 to 15281 billion above the factset consensus of 14767 billion walmart us samestore sales rose 82 above the factset consensus of a 36 rise and sams club samestore sales increased 100 to beat expectations of 87 cost of sales increased more than revenue up 101 to 11561 billion as gross margin contracted to 243 from 253 for fiscal 2023 the company increased its outlook for adjusted eps to a yearoveryear decline of 6 to 7 from a decline of 8 to 10 and for sales growth to 55 from 45 the stock has gained 44 over the past three months through monday while the dow jones industrial average djia has slipped 11