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