XML 106 R84.htm IDEA: XBRL DOCUMENT v3.21.2
Stock compensation plans (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Share-based Payment Arrangement [Abstract]      
Total stock-based compensation expense $ 155 $ 137 $ 119
Unrecognized compensation cost related to non-vested awards $ 151    
Compensation cost not yet recognized period for recognition 3 years