XML 54 R43.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-Based Compensation - Fair Value Assumptions of Stock Options (Detail) - Stock Options [Member]
3 Months Ended
Jan. 31, 2018
Jan. 31, 2017
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected volatility, Minimum 24.00% 29.00%
Expected volatility, Maximum 26.70% 29.20%
Expected dividend yield 0.97% 1.17%
Risk-free interest rate, Minimum 2.09% 1.89%
Risk-free interest rate, Maximum 2.20% 2.01%
Minimum [Member]    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected life of the option (in years) 5 years 4 months 24 days 5 years 4 months 24 days
Maximum [Member]    
Share Based Compensation Arrangement By Share Based Payment Award [Line Items]    
Expected life of the option (in years) 6 years 2 months 12 days 6 years 2 months 12 days