v3.26.3
Share-based Payments - Stock Options (Details) - Stock Incentive Plan - $ / shares
shares in Millions
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Aug. 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]        
Beginning of period, Outstanding (in shares) 0.8 0.9 1.0  
Exercised (in shares) (0.1) (0.1) (0.1)  
End of period, Outstanding (in shares) 0.8 0.8 0.9  
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Roll Forward]        
Beginning of period, Outstanding (in dollars per share) $ 119.81 $ 130.74 $ 131.81  
Exercised (in dollars per share) 201.68 195.50 143.92  
End of period, Outstanding (in dollars per share) $ 117.30 $ 119.81 $ 130.74  
Outstanding, Number of Shares (in shares) 0.8 0.8 0.9 0.9
Outstanding, Weighted Average Exercise Price (in dollars per share) $ 117.30 $ 119.81 $ 132.48 $ 135.91
Stock options        
Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]        
End of period, Outstanding (in shares) 0.8      
$100.01 - $160.00 (average life - 3.6 years)        
Share-based Payment Arrangement, Option, Exercise Price Range, End of Period [Abstract]        
Range of option exercise prices, lower range limit (in dollars per share) $ 100.01      
Range of option exercise prices, upper range limit (in dollars per share) $ 160.00      
Range of option exercise prices, average life 3 years 7 months 6 days      
Range of option exercise prices, Outstanding, Number of Shares (in shares) 0.8      
Range of option exercise prices, Outstanding, Weighted Average Exercise Price (in dollars per share) $ 117.30      
Range of option exercise prices, Exercisable, Number of Shares (in shares) 0.8      
Range of option exercise prices, Exercisable, Weighted Average Exercise Price (in dollars per share) $ 117.30