XML 72 R61.htm IDEA: XBRL DOCUMENT v3.22.2.2
EARNINGS (LOSS) PER SHARE - Additional Information (Details) - USD ($)
shares in Millions, $ in Millions
3 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Antidilutive securities excluded from computation of earnings per share, amount 6.3 24.2
Convertible debt    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Interest expense excluded from computation of earnings, amount $ 0.8 $ 0.7
Preferred Dividends    
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Interest expense excluded from computation of earnings, amount $ 0.5