v3.26.3
Significant Accounting Policies - Property, Plant and Equipment (Details) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Aug. 31, 2024
Property, Plant, and Equipment [Line Items]      
Depreciation expense $ 63.3 $ 56.6 $ 51.4
Total property, plant, and equipment, at cost 1,166.1 1,096.9  
Less: Accumulated depreciation and amortization (809.3) (753.7)  
Property, plant, and equipment, net 356.8 343.2  
Land      
Property, Plant, and Equipment [Line Items]      
Total property, plant, and equipment, at cost 22.6 22.2  
Buildings and leasehold improvements      
Property, Plant, and Equipment [Line Items]      
Total property, plant, and equipment, at cost 248.3 235.3  
Machinery, equipment, and information technology      
Property, Plant, and Equipment [Line Items]      
Total property, plant, and equipment, at cost $ 895.2 $ 839.4  
Minimum | Buildings and leasehold improvements      
Property, Plant, and Equipment [Line Items]      
Useful lives of plant and equipment, minimum 3 years    
Minimum | Machinery, equipment, and information technology      
Property, Plant, and Equipment [Line Items]      
Useful lives of plant and equipment, minimum 3 years    
Maximum | Buildings and leasehold improvements      
Property, Plant, and Equipment [Line Items]      
Useful lives of plant and equipment, minimum 40 years    
Maximum | Machinery, equipment, and information technology      
Property, Plant, and Equipment [Line Items]      
Useful lives of plant and equipment, minimum 15 years