XML 33 R22.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings Per Share (Tables)
9 Months Ended
Apr. 30, 2018
Earnings Per Share [Abstract]  
Summary of weighted-average number of shares calculation of basic diluted earnings per share
    Three Months Ended
April 30,
    Nine Months Ended
April 30,
 
    2018     2017     2018     2017  
    (in thousands)  
Basic weighted-average number of shares     9,867       9,595       9,757       9,423  
Effect of dilutive securities:                                
Stock options                        
Non-vested restricted Class B common stock                        
                                 
Diluted weighted-average number of shares     9,867       9,595       9,757       9,423
Shares excluded from the dilutive earnings per share computations
    Three Months Ended
April 30,
    Nine Months Ended
April 30,
 
    2018     2017     2018     2017  
    (in thousands)  
Stock options     1,366       1,431       1,366       1,431  
Non-vested restricted Class B common stock     346       53       346       53  
                                 
Shares excluded from the calculation of diluted earnings per share     1,712       1,484       1,712       1,484