v3.26.1
Derivative Instruments - Effects of Cash Flow Hedges Included in Statements of Income (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Derivative [Line Items]        
Revenue $ 576.5 $ 842.7 $ 1,870.1 $ 2,480.7
Cost of revenue 495.4 691.2 1,616.2 2,017.0
Interest and foreign exchange 16.5 13.2 45.7 58.3
Cash Flow Hedging        
Derivative [Line Items]        
Gain (loss) reclassified from AOCL into income 3.8 4.3 11.0 12.9
Cash Flow Hedging | Sales | Foreign Exchange Contracts        
Derivative [Line Items]        
Gain (loss) reclassified from AOCL into income 0.0 1.5 0.6 3.1
Gain (loss) amount excluded from effectiveness testing 0.4 0.8 1.6 0.2
Cash Flow Hedging | Cost of Sales | Foreign Exchange Contracts        
Derivative [Line Items]        
Gain (loss) reclassified from AOCL into income 1.9 0.0 4.0 (0.1)
Gain (loss) amount excluded from effectiveness testing 0.0 0.0 0.1 0.0
Cash Flow Hedging | Interest and Foreign Exchange | Interest Rate Swap Contracts        
Derivative [Line Items]        
Gain (loss) reclassified from AOCL into income $ 1.9 $ 2.8 $ 6.4 $ 9.9