XML 68 R38.htm IDEA: XBRL DOCUMENT v3.25.2
Inventories - Narrative (Details) - USD ($)
$ in Millions
May 31, 2025
Aug. 31, 2024
Inventory Disclosure [Abstract]    
LIFO inventory, difference amount had FIFO inventory valuation method been used $ 324.8 $ 456.3
Percentage of LIFO inventory 20.00% 18.00%
Inventory [Line Items]    
Percentage of LIFO inventory 20.00% 18.00%