Stockholders' Equity (Narrative) (Details) - USD ($) $ / shares in Units, $ in Millions |
3 Months Ended | 12 Months Ended | |||
---|---|---|---|---|---|
Jul. 31, 2025 |
Jul. 31, 2025 |
Jul. 31, 2024 |
Jul. 31, 2023 |
Nov. 30, 2023 |
|
Stockholders' Equity Note [Abstract] | |||||
Stock repurchase program, additional shares authorized for repurchase (in shares) | 12,000,000 | ||||
Stock repurchases (in shares) | 4,900,000 | 2,500,000 | |||
Stock repurchased during the period including excise tax | $ 333.6 | $ 163.3 | |||
Purchase of treasury stock | $ 331.5 | $ 162.7 | $ 141.8 | ||
Remaining number of shares authorized to be repurchased (in shares) | 5,900,000 | 5,900,000 | |||
Dividends paid per share (in usd per share) | $ 1.11 | $ 1.02 | |||
Cash dividend declared per common share (in usd per share) | $ 0.300 | $ 1.14 | $ 1.04 | $ 0.96 |