XML 49 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 6 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Earnings Per Share [Line Items]        
Weighted average shares outstanding for basic earnings per share 9,356,660 9,053,838 9,332,665 8,965,672
Add effects of potentially dilutive securities-assumed exercise of stock options 481,304 332,356 505,053 279,053
Weighted average shares outstanding for diluted earnings per share 9,837,964 9,386,194 9,837,718 9,244,725