v3.26.1
Earnings Per Share - Schedule of Components of Basic and Diluted Earnings Per Share (Parenthetical) (Details) - shares
shares in Millions
3 Months Ended 9 Months Ended
May 31, 2026
May 31, 2025
May 31, 2026
May 31, 2025
Performance Share Units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Diluted shares 0.5   0.5  
Stock Options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Diluted shares   2.1   2.1
Restricted Stock Units        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Diluted shares   0.1   0.1