XML 43 R32.htm IDEA: XBRL DOCUMENT v3.7.0.1
Earnings Per Share (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2017
Apr. 30, 2016
Apr. 30, 2017
Apr. 30, 2016
Weighted-average number of shares used in the calculation of basic and diluted earnings per share        
Basic weighted-average number of shares 9,595 8,199 9,423 8,174
Effect of dilutive securities:        
Stock options 987 853
Non-vested restricted Class B common stock
Diluted weighted-average number of shares 9,595 9,186 9,423 9,027