Inventories - Narrative (Details) - USD ($) $ in Millions |
May 31, 2021 |
Aug. 31, 2020 |
|---|---|---|
| Inventory Disclosure [Abstract] | ||
| LIFO inventory, difference amount had FIFO inventory valuation method been used | $ 313.3 | $ 93.5 |
| Percentage of LIFO inventory | 15.00% | 16.00% |
| Inventory [Line Items] | ||
| Percentage of LIFO inventory | 15.00% | 16.00% |