XML 85 R82.htm IDEA: XBRL DOCUMENT v3.19.3
Stock compensation plans (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2019
Aug. 31, 2018
Aug. 31, 2017
Share-based Payment Arrangement [Abstract]      
Expected performance goal achievement rate 100.00%    
Total stock-based compensation expense $ 119 $ 130 $ 91
Stock-based compensation, recognized tax benefit, 43 $ 43 $ 78
Unrecognized compensation cost related to non-vested awards $ 172    
Compensation cost not yet recognized period for recognition 3 years