XML 39 R28.htm IDEA: XBRL DOCUMENT v3.7.0.1
Earnings Per Share (Tables)
9 Months Ended
Apr. 30, 2017
Earnings Per Share [Abstract]  
Summary of weighted-average number of shares used in the calculation of basic and diluted earnings per share
 Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2017  2016  2017  2016 
  (in thousands) 
Basic weighted-average number of shares  23,054   22,635   22,845   22,790 
Effect of dilutive securities:                
Stock options        49    
Non-vested restricted Class B common stock     45   95   26 
Diluted weighted-average number of shares  23,054   22,680   22,989   22,816
Summary of shares excluded from the diluted earnings per share
  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2017  2016  2017  2016 
  (in thousands) 
Stock options  273   264   20   265 
Non-vested restricted Class B common stock  212          
Shares excluded from the calculation of diluted earnings per share  485   264   20   265