XML 34 R38.htm IDEA: XBRL DOCUMENT v3.19.2
Earnings per share - Computation of Basic and Diluted Weighted Average Shares Outstanding (Detail) - shares
3 Months Ended 9 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2019
Jul. 31, 2018
Earnings Per Share [Abstract]        
Weighted average shares outstanding for basic earnings per share 9,363,528 9,202,095 9,343,067 9,045,340
Add effects of potentially dilutive securities-assumed exercise of stock options 509,371 527,513 506,822 397,272
Weighted average shares outstanding for diluted earnings per share 9,872,899 9,729,608 9,849,889 9,442,612