v3.26.1
Derivative Instruments - Effect of Derivative Instruments on 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
Foreign Exchange Contracts | Not Designated as Hedging Instrument        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in income on derivatives $ 0.5 $ 0.0 $ 0.5 $ (0.3)
Derivative, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest And Foreign Exchange Net Interest And Foreign Exchange Net Interest And Foreign Exchange Net Interest And Foreign Exchange Net
Cash Flow Hedging        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in AOCL on derivatives $ 4.3 $ (2.1) $ 17.4 $ 12.8
Gain (loss) reclassified from AOCL into income 3.8 4.3 11.0 12.9
Cash Flow Hedging | Interest and Foreign Exchange        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in AOCL on derivatives 4.8 (0.8) 7.9 11.2
Cash Flow Hedging | Foreign Exchange Contracts | Sales        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in AOCL on derivatives (0.7) (1.5) 0.9 1.6
Gain (loss) reclassified from AOCL into income 0.0 1.5 0.6 3.1
Cash Flow Hedging | Foreign Exchange Contracts | Cost of Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in AOCL on derivatives 0.2 0.2 8.6 (0.0)
Gain (loss) reclassified from AOCL into income 1.9 0.0 4.0 (0.1)
Cash Flow Hedging | Interest Rate Swap Contracts | Interest and Foreign Exchange        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) reclassified from AOCL into income $ 1.9 $ 2.8 $ 6.4 $ 9.9