XML 22 R11.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings per share
3 Months Ended
Jan. 31, 2018
Earnings Per Share [Abstract]  
Earnings per share
Note 6 - Earnings per share
 
Basic earnings (loss) per share is computed by dividing net income (loss) by the weighted average number of common shares outstanding during the period. Diluted earnings (loss) per share is computed by dividing net income (loss) by the weighted average number of common shares outstanding increased by the effects of assuming that other potentially dilutive securities (such as stock options) outstanding during the period had been exercised and the treasury stock method had been applied. Potentially dilutive securities totaling 771,973 and 1,024,188 for the three months ended January 31, 2018 and 2017, respectively, were excluded from the calculation of diluted per share amounts because of their anti-dilutive effect.
 
The following table summarizes the computation of basic and diluted weighted average shares outstanding:
 
 
 
Three Months Ended January 31,
 
 
 
2018
 
2017
 
 
 
 
 
 
 
 
 
Weighted average shares outstanding for basic earnings (loss) per share
 
 
8,880,384
 
 
8,834,747
 
 
 
 
 
 
 
 
 
Add effects of potentially dilutive securities-assumed exercise of stock options
 
 
218,917
 
 
-
 
 
 
 
 
 
 
 
 
Weighted average shares outstanding for diluted earnings (loss) per share
 
 
9,099,301
 
 
8,834,747