EQUITY, LONG-TERM INCENTIVE COMPENSATION PLANS AND NON-CONTROLLING INTEREST - Quarterly Cash Dividends (Details) - USD ($) $ / shares in Units, $ in Millions  | 
12 Months Ended | ||
|---|---|---|---|
May 31, 2024  | 
Jun. 30, 2024  | 
Jun. 30, 2023  | 
|
| Dividends Payable | |||
| Cash dividends paid (in dollars per share) | $ 1.45 | ||
| Payment of dividends | $ 773.0 | $ 732.6 | |
| Restricted Stock Unit | |||
| Dividends Payable | |||
| Dividends payable | $ 11.8 | $ 12.2 | |
| X | ||||||||||
- Definition Aggregate dividends paid during the period for each share of common stock outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Cash outflow in the form of capital distributions and dividends to common shareholders, preferred shareholders and noncontrolling interests. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  |