XML 75 R35.htm IDEA: XBRL DOCUMENT v3.23.2
Inventories - Narrative (Details) - USD ($)
$ in Millions
May 31, 2023
Aug. 31, 2022
Inventory Disclosure [Abstract]    
LIFO inventory, difference amount had FIFO inventory valuation method been used $ 477.8 $ 678.3
Percentage of LIFO inventory 17.00% 14.00%
Inventory [Line Items]    
Percentage of LIFO inventory 17.00% 14.00%