XML 93 R57.htm IDEA: XBRL DOCUMENT v3.24.3
Weighted average shares (Details) - shares
shares in Millions
12 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2022
Earnings Per Share [Abstract]      
Basic weighted-average shares (in shares) 202.9 206.4 217.7
Effect of dilutive shares (in shares) 0.6 0.8 1.2
Diluted weighted-average shares (in shares) 203.5 207.2 218.9
Excluded anti-dilutive shares (in shares) 0.0 0.1 0.1