XML 63 R52.htm IDEA: XBRL DOCUMENT v3.22.2.2
Stock-based compensation - Fair Value Assumptions of Stock Options (Detail) - Stock Options
9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected volatility, minimum 30.60% 30.80%
Expected volatility, maximum 30.80% 32.60%
Risk-free interest rate, minimum 1.36% 0.43%
Risk-free interest rate, maximum 1.47% 0.77%
Minimum    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected dividend yield 0.76% 0.83%
Expected life of the option (in years) 5 years 3 months 18 days 5 years 3 months 18 days
Maximum    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected dividend yield 0.76% 0.85%
Expected life of the option (in years) 6 years 2 months 12 days 6 years 2 months 12 days