COMMON STOCK AND TREASURY STOCK - Summary of Activity Related to Stock Repurchase Programs (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Equity [Abstract]      
Number of shares repurchased and retired (in shares) 5.8 4.7 7.2
Average price per share (in dollars per share) $ 119.45 $ 99.38 $ 62.13
Aggregate purchase price $ 697.9 $ 470.4 $ 445.0