Earnings Per Common Share and Cash Dividends - Number of Shares Used in Calculating Basic and Diluted Earnings Per Share (Detail) - shares |
3 Months Ended | |
|---|---|---|
Jan. 31, 2016 |
Jan. 31, 2015 |
|
| Weighted average common shares outstanding: | ||
| Basic | 5,103,434 | 5,080,911 |
| Effect of dilutive securities: | ||
| Options to purchase shares of common stock | 31,463 | 26,071 |
| Diluted | 5,134,897 | 5,106,982 |