XML 44 R33.htm IDEA: XBRL DOCUMENT v3.8.0.1
Stock-Based Compensation - Stock Option Assumptions (Detail) - $ / shares
9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]    
Expected term 6 years 26 days 6 years 1 month 10 days
Expected volatility 26.52% 29.55%
Expected dividend yield 2.72% 2.70%
Risk-free interest rate 1.96% 1.26%
Weighted-average market value of underlying stock at grant date $ 36.85 $ 35.14
Options, Grants in Period, Weighted Average Exercise Price 36.85 35.14
Weighted-average fair value of options granted during the period $ 7.96 $ 7.56