XML 62 R49.htm IDEA: XBRL DOCUMENT v3.22.2.2
Summary of major accounting policies - reconciliation of cash, cash equivalents and restricted cash (Details) - USD ($)
$ in Millions
Aug. 31, 2022
Aug. 31, 2021
Aug. 31, 2020
Aug. 31, 2019
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents $ 1,358 $ 559    
Marketable securities 1,114 634    
Cash, cash equivalents, marketable securities and restricted cash 2,558 1,270 $ 746 $ 1,207
Continuing operations        
Cash and Cash Equivalents [Line Items]        
Cash and cash equivalents 1,358 559    
Marketable securities 1,114 634    
Restricted cash $ 86 $ 77