Annual report pursuant to Section 13 and 15(d)

Leases - Additional Information (Detail)

v3.5.0.2
Leases - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
Aug. 31, 2016
Aug. 31, 2015
Aug. 31, 2014
Leases Disclosure [Line Items]      
Due in 2017 $ 32.9    
Due in 2018 27.1    
Due in 2019 23.6    
Due in 2020 19.9    
Due in 2021 14.4    
Due thereafter 45.1    
Operating lease, rental expense $ 37.6 $ 35.7 $ 31.6
Minimum      
Leases Disclosure [Line Items]      
Lease agreements period 1 year    
Maximum      
Leases Disclosure [Line Items]      
Lease agreements period 20 years    
Energy      
Leases Disclosure [Line Items]      
Sale Leaseback Transaction, Gross Proceeds, Investing Activities $ 7.0    
Energy | Viking      
Leases Disclosure [Line Items]      
Sale Leaseback Transaction, Gross Proceeds, Investing Activities     $ 41.0