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 | 6 Months Ended | ||
---|---|---|---|---|
Apr. 30, 2022 |
Apr. 30, 2021 |
Apr. 30, 2022 |
Apr. 30, 2021 |
|
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | ||||
Range of exercise prices, lower limit | $ 345.74 | $ 345.74 | $ 345.74 | $ 345.74 |
Range of exercise prices, upper limit | $ 406.17 | $ 345.74 | $ 406.17 | $ 345.74 |
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) | 224 | 108 | 224 | 108 |
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) | 12,000 | 0 | 11,000 | 8 |