XML 43 R32.htm IDEA: XBRL DOCUMENT v3.8.0.1
Earnings Per Share (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Weighted-average number of shares used in the calculation of basic and diluted earnings per share        
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