XML 60 R40.htm IDEA: XBRL DOCUMENT v3.23.2
Earnings Per Share - Schedule of Stock Options and Restricted Stock Units that were not Included in the Diluted Earnings Per Share Calculation (Details) - $ / shares
shares in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2023
Jul. 31, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Exercise prices, lower limit $ 329.83 $ 304.54 $ 300.12 $ 304.54
Exercise prices, upper limit $ 406.17 $ 406.17 $ 406.17 $ 406.17
Stock Options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of stock option shares and restricted stock units excluded (in shares) 205 425 311 224
Restricted Stock Units (RSUs)        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of stock option shares and restricted stock units excluded (in shares) 2,000 121 16,000 8