XML 69 R35.htm IDEA: XBRL DOCUMENT v3.24.2
Inventories - Narrative (Details) - USD ($)
$ in Millions
May 31, 2024
Aug. 31, 2023
Inventory Disclosure [Abstract]    
LIFO inventory, difference amount had FIFO inventory valuation method been used $ 463.7 $ 589.0
Percentage of LIFO inventory 22.00% 16.00%
Inventory [Line Items]    
Percentage of LIFO inventory 22.00% 16.00%