v3.22.2.2
Stock Compensation Plan (Narrative) (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Shares issued for stock based compensation (in shares) 4,400,000          
Stock based compensation award vesting period 3 years          
Stock based compensation, shares available for grant (in shares) 2,600,000          
Total unrecognized compensation expense $ 30.3          
Share-based Payment Arrangement, Exercise of Option, Tax Benefit $ 23.0 $ 24.0 $ 12.3      
Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period 10 years          
Stock Appreciation Rights (SARs) [Member]            
Weighted-average grant-date fair value (in dollars per share) $ 96.20 $ 52.30 $ 58.25      
Intrinsic value of options and SARs exercised $ 69.1 $ 82.0 $ 35.0      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares 160,000 96,000 91,000      
Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested in Period, Fair Value $ 16.2 $ 0.1 $ 2.6      
Restricted Stock Units (RSUs) [Member]            
Weighted-average grant-date fair value (in dollars per share) $ 336.57 $ 222.17 $ 217.46      
Stock based compensation, restricted shares granted (in shares) 68,000 94,000 83,000      
Stock based compensation, restricted shares vested (in shares) 68,000 66,000 63,000      
Stock based compensation, total fair value of restricted shares $ 23.7 $ 15.0 $ 14.8      
Expected to be Recognized in One Year [Member] | Forecast [Member]            
Total unrecognized compensation expense       $ 1.5 $ 10.6 $ 18.2