Consolidated Statements of Stockholders' Equity (Parenthetical) - $ / shares shares in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2024 |
Jun. 30, 2023 |
Jun. 30, 2022 |
|
| Statement of Stockholders' Equity [Abstract] | |||
| Treasury stock acquired (in shares) | 2.5 | 0.2 | 0.1 |
| Treasury stock reissued (in shares) | 1.1 | 1.0 | 1.3 |
| Dividends declared (in dollars per share) | $ 3.20 | $ 2.90 | $ 2.56 |
| X | ||||||||||
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Number of treasury shares or units reissued. Excludes reissuance of shares or units in treasury for award under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Number of shares that have been repurchased during the period and are being held in treasury. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|