XML 77 R63.htm IDEA: XBRL DOCUMENT v3.22.2
Derivative Instruments - Effect of Derivative Instruments on Statements of Income (Detail) - Cash Flow Hedging - USD ($)
3 Months Ended 9 Months Ended
May 31, 2022
May 31, 2021
May 31, 2022
May 31, 2021
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in OCI on derivatives $ 17,500,000 $ 300,000 $ 14,900,000 $ (500,000)
Gain (loss) reclassified from accumulated OCI into income (2,200,000) (1,800,000) (5,200,000) (5,100,000)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 500,000 200,000 1,400,000 600,000
Foreign Exchange Forward | Interest and Foreign Exchange        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in income on derivatives 200,000 100,000 200,000  
Foreign Exchange Forward | Sales        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in OCI on derivatives 1,500,000 500,000 (3,500,000) (1,100,000)
Gain (loss) reclassified from accumulated OCI into income (600,000) (500,000) (1,000,000.0) (1,100,000)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 300,000 200,000 800,000 500,000
Foreign Exchange Forward | Cost Of Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in OCI on derivatives 800,000 300,000 900,000  
Gain (loss) reclassified from accumulated OCI into income 100,000   100,000 (100,000)
Gain (loss) recognized on derivative (amount excluded from effectiveness testing) 200,000   600,000 100,000
Interest rate swap contracts | Interest and Foreign Exchange        
Derivative Instruments, Gain (Loss) [Line Items]        
Gain (loss) recognized in OCI on derivatives 15,200,000 500,000 17,500,000 600,000
Gain (loss) reclassified from accumulated OCI into income $ (1,700,000) $ (1,300,000) $ (4,300,000) $ (3,900,000)