XML 47 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings per share - Computation of Basic and Diluted Weighted Average Shares Outstanding (Detail) - shares
3 Months Ended 6 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Denominators:        
Weighted average shares outstanding for basic earnings (loss) per share 9,053,838 8,834,747 8,965,672 8,882,863
Add effects of potentially dilutive securities-assumed exercise of stock options 332,356 42,454 279,053 0
Weighted average shares outstanding for diluted earnings (loss) per share 9,386,194 8,877,201 9,244,725 8,882,863