XML 73 R62.htm IDEA: XBRL DOCUMENT v3.23.1
EARNINGS (LOSS) PER SHARE - Additional Information (Details) - USD ($)
shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2023
Apr. 30, 2022
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive securities excluded from computation of earnings per share, amount 5.9 24.6 5.9 24.6
Convertible Debt        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Interest expense excluded from computation of earnings, amount $ 0.7 $ 0.7 $ 2.3 $ 2.1
Preferred Dividends        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Interest expense excluded from computation of earnings, amount   $ 0.5   $ 1.6