XML 48 R37.htm IDEA: XBRL DOCUMENT v3.10.0.1
Earnings per share - Computation of Basic and Diluted Weighted Average Shares Outstanding (Detail) - shares
3 Months Ended 9 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Earnings Per Share [Line Items]        
Weighted average shares outstanding for basic earnings per share 9,202,095 8,838,027 9,045,340 8,835,852
Add effects of potentially dilutive securities-assumed exercise of stock options 527,513 77,767 397,272 50,543
Weighted average shares outstanding for diluted earnings per share 9,729,608 8,915,794 9,442,612 8,886,395