XML 74 R60.htm IDEA: XBRL DOCUMENT v3.7.0.1
Reconciliation of Numerator and Denominator of the basic and diluted earnings per share computation (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Equity [Abstract]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount     7 481
Net income (loss) $ 4,229 $ 4,209 $ 2,211 $ (918)
Basic weighted average shares 17,858 17,615 17,788 17,615
Effect of dilutive securities:        
Stock options 30 5 21 0
Diluted weighted average shares 17,888 17,620 17,809 17,615
Basic income (loss) per share $ 0.24 $ 0.24 $ 0.12 $ (0.05)
Diluted income (loss) per share $ 0.24 $ 0.24 $ 0.12 $ (0.05)