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

  Three Months Ended
January 31,
  Six Months Ended
January 31,
 
  2019  2018  2019  2018 
  (in thousands) 
Basic weighted-average number of shares  24,816   24,643   24,323   24,635 
Effect of dilutive securities:                
Stock options     10       
Non-vested restricted Class B common stock  5   71       
Diluted weighted-average number of shares  24,821   24,724   24,323   24,635 

Summary of shares excluded from the diluted earnings per share

  Three Months Ended
January 31,
  Six Months Ended
January 31,
 
  2019  2018  2019  2018 
  (in thousands) 
Stock options  1,243   1,160   1,243   1,273 
Non-vested restricted Class B common stock        20   191 
Shares excluded from the calculation of diluted earnings per share  1,243   1,160   1,263   1,464