XML 38 R27.htm IDEA: XBRL DOCUMENT v3.4.0.3
Earnings Per Share (Tables)
9 Months Ended
Apr. 30, 2016
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,
 
  2016  

2015

  2016  

2015

 
  (in thousands) 
Basic weighted-average number of shares  22,635   23,034   22,790   22,867 
Effect of dilutive securities:                
Stock options     20      33 
Non-vested restricted Class B common stock  45   414   26   359 
Diluted weighted-average number of shares  22,680   23,468   22,816   23,259 
Shares excluded from the diluted earnings per share computations

  Three Months Ended
April 30,
  Nine Months Ended
April 30,
 
  2016  2015  2016  2015 
  (in thousands) 
Shares excluded from the calculation of diluted earnings per share  264   15   265   166