XML 46 R35.htm IDEA: XBRL DOCUMENT v3.7.0.1
Earnings per share - Computation of Basic and Diluted Weighted Average Shares Outstanding (Detail) - shares
3 Months Ended 9 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Denominators:        
Weighted average shares outstanding for basic earnings per share 8,838,027 8,834,747 8,835,852 8,770,375
Add effects of potentially dilutive securities-assumed exercise of stock options 77,767 0 50,543 0
Weighted average shares outstanding for diluted earnings per share 8,915,794 8,834,747 8,886,395 8,770,375