Hello. Thank you for calling Costco Wholesale Corporation. I'm David Sherwood, AVP of Finance and Investor Relations, and I will review our sales results for the four-week retail month of May, which started on Monday, May 6th, and ended on Sunday, June 2nd. This period is compared to the four weeks beginning on Monday, May 7th, and ending on Sunday, June 3rd, 2018. This call will include forward-looking statements within the meaning of the Private Securities Litigation Reform Act of 1995. These statements involve risks and uncertainties that may cause actual events, results, and or performance to differ materially from those indicated by such statements. The risks and uncertainties include, but are not limited to, those outlined in today's call, as well as other risks identified from time to time in the company's public statements and reports filed with the SEC.
Forward-looking statements speak only as of the date they are made. The company does not undertake to update them except as required by law. Now with regards to sales. As reported in our release, net sales for the four-week month of May came in at $11.67 billion, an increase of 5.9% from $11.02 billion last year. For the 39 weeks ended June 2nd, net sales came in at $111.56 billion, an increase of 8% from $103.26 billion last year. Comparable sales were as follows. On a reported basis, in the U.S., the four weeks was a 5.7%, 39 weeks, 8.3%. Canada, the four weeks was a - 0.3%, 39 weeks, 0.9%. Other international, four weeks was a 0.9%, 39 weeks, 2.0%. Total company, four weeks, 4.2%, 39 weeks, 6.3%. E-commerce, the four weeks was at 20.2%, 39 weeks, 24.2%.
Comparable sales excluding impacts from changes in Gasoline prices and foreign exchange and revenue recognition were as follows. In the U.S., the four weeks was a 4.4%, 39 weeks, 6.7%. Canada, four weeks, 3.9%, 39 weeks, 5.3%. Other international, 4.8%, 39 weeks, 5.7%. Total company, the four weeks is a 4.3%, 39 weeks, 6.3%. E-commerce, the four weeks is at 19.9%, 39 weeks, 23.5%. In terms of regional and merchandising categories, the general highlights were as follows. The U.S. regions with the strongest results were the Midwest, San Diego, and Los Angeles. Internationally, in local currencies, we saw the strongest results in Spain, Mexico, and Taiwan. Foreign currencies year-over-year relative to the U.S. dollar hurt May comp sales as follows. Canada by approximately 450 basis points, other international by approximately 380 basis points. Total company by approximately 110 basis points.
The impact from revenue recognition standard ASC 606 was a benefit of approximately 110 basis points for the U.S. 90 basis points for total company. The negative impact of cannibalization was approximately 50 basis points in the U.S., 80 basis points in Canada, 170 basis points in other international. 75 basis points for the total company. Moving to the merchandise highlights, the following comparable sales results by category for the month exclude the impact of foreign exchange. Food and sundries were positive mid-single digits. Departments with the strongest results were candy, sundries, and liquor. Hard lines were positive low to mid-single digits. Better performing departments were toys and seasonal, majors, and HABA. Soft lines were up mid-single digits. Better performing departments included special order kiosks, home furnishings, and domestics. Finally, fresh foods were up low to mid-single digits. Better performing departments included service deli and meat.
Within the ancillary businesses, hearing aids, Gasoline, and Optical had the best comp sales increases. Gasoline price inflation positively impacted total reported comp sales by approximately 10 basis points. The average selling price was slightly higher year over year at $3.16 per gallon this year compared to $3.13 a year earlier. Our comp traffic or frequency for May was up 2.7% worldwide and 2.3% in the U.S. The average transaction was up 1.5% for the month, which includes the negative impact from foreign exchange and positive impacts from Gasoline inflation and revenue recognition. Looking ahead, the June reporting period will include the five weeks beginning June 3rd and ending July 7th, compared to the five weeks beginning June 4th ending July 8th, 2018. June sales will be released at 1:15 P.M. Pacific Time on July 10th.
Costco currently operates 773 warehouses, including 536 in the United States and Puerto Rico, 100 in Canada, 39 in Mexico, 28 in the United Kingdom, 26 in Japan, 16 in Korea, 13 in Taiwan, 11 in Australia, two in Spain, and one each in Iceland and France. Costco also operates E-commerce websites in the U.S., Canada, U.K., Mexico, Korea, and Taiwan. If you have any questions regarding our May sales results or any other investor relations questions, please do not hesitate to call Bob Nelson at 425-313-8255, Josh Dahmen at 425-313-8254, or myself, David Sherwood, at 425-313-8239. This recording will be available until 5:00 P.M. Pacific Time, Wednesday, June 12th. Thanks for calling Costco, and have a great day.