XML 67 R54.htm IDEA: XBRL DOCUMENT v3.22.2.2
Schedule of Weighted-average Number of Shares Used in the Calculation of Basic and Diluted Earnings Per Share (Details) - shares
shares in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Accounting Policies [Abstract]      
Basic weighted-average number of shares 25,791 25,495 26,278
Stock options 434 229 1
Non-vested restricted Class B common stock 131 329 162
Diluted weighted-average number of shares 26,356 26,053 26,441