XML 82 R61.htm IDEA: XBRL DOCUMENT v3.25.2
Weighted average shares (Details) - shares
shares in Millions
12 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Earnings Per Share [Abstract]      
Basic weighted-average shares (in shares) 198.9 202.9 206.4
Effect of dilutive shares (in shares) 0.3 0.6 0.8
Diluted weighted-average shares (in shares) 199.2 203.5 207.2
Excluded anti-dilutive shares (in shares) 0.1 0.0 0.1