| RESTRUCTURING CHARGES (Details) - USD ($) $ in Millions | 12 Months Ended | ||
|---|---|---|---|
| Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021 | |
| Restructuring and Related Activities [Abstract] | |||
| Restructuring charges | $ 44.0 | $ 1.0 | $ 12.4 | 
| Accelerated depreciation charges | 3.9 | ||
| Restructuring reserve | $ 11.0 | $ 2.1 | |
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of accelerated depreciation charged against earnings associated with exit from or disposal of business activities or restructuring plan. No definition available. 
 |