XML 47 R36.htm IDEA: XBRL DOCUMENT v3.21.1
Earnings (Loss) Per Share (Tables)
9 Months Ended
Apr. 30, 2021
Earnings Per Share [Abstract]  
Schedule of Weighted-average Number of Shares Used in Calculation of Basic and Diluted Earnings (Loss) Per Share

The weighted-average number of shares used in the calculation of basic and diluted earnings (loss) per share attributable to the Company’s common stockholders consists of the following:

 

  

Three Months Ended
April 30,

   Nine Months Ended
April 30,
 
   2021   2020   2021   2020 
   (in thousands) 
Basic weighted-average number of shares   25,530    26,371    25,475    26,323 
Effect of dilutive securities:                    
Stock options   295        101     
Non-vested restricted Class B common stock   311    135    327     
Diluted weighted-average number of shares   26,136    26,506    25,903    26,323 
Schedule of Shares Excluded from the Diluted Earnings (Loss) Per Share

The following shares were excluded from the calculation of diluted earnings (loss) per share:

 

   Three Months Ended
April 30,
   Nine Months Ended
April 30,
 
   2021   2020   2021   2020 
   (in thousands) 
Stock options       1,126    713    1,126 
Non-vested restricted Class B common stock               520 
Shares excluded from the calculation of diluted earnings per share       1,126    713    1,646