XML 38 R27.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings (Loss) Per Share (Tables)
6 Months Ended
Jan. 31, 2018
(Loss) Earnings Per Share [Abstract]  
Summary of weighted-average number of shares used in the calculation of basic and diluted (loss) earnings per share
  

Three Months Ended
January 31,

  

Six Months Ended
January 31,

 
  

2018

  

2017

  

2018

  

2017

 
  (in thousands) 
Basic weighted-average number of shares  24,643   22,768   24,635   22,740 
Effect of dilutive securities:                
Stock options  10   77      58 
Non-vested restricted Class B common stock  71   118      133 
Diluted weighted-average number of shares  24,724   22,963   24,635   22,931 

 

Summary of shares excluded from the diluted earnings per share
  

Three Months Ended
January 31,

  

Six Months Ended
January 31,

 
  

2018

  

2017

  

2018

  

2017

 
  (in thousands) 
Stock options  1,160   3   1,273   18 
Non-vested restricted Class B common stock        191    
Shares excluded from the calculation of diluted earnings per share  1,160   3   1,464   18