XML 98 R82.htm IDEA: XBRL DOCUMENT v3.21.2
Derivative Financial Instruments and Hedging Activities (Derivatives Not Designated As Hedging Instruments) (Details) - Cost of revenue - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Derivative [Line Items]      
Foreign currency gain (loss) $ (105) $ (47) $ 15
Forward foreign exchange contracts      
Derivative [Line Items]      
Amount of Gain (Loss) Recognized in Net Income on Derivatives $ 140 $ 42 $ (30)