v3.24.2.u1
Income Taxes - Additional Information (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Provision for income taxes $ 179.3 $ 164.3 $ 133.1
Effective income tax rate 20.40% 20.70% 19.80%
Excess tax benefit related to stock-based compensation awards $ 12.9 $ 10.4 $ 18.1
Accumulated earnings attributable to foreign subsidiaries 853.9    
Accumulated earnings attributable to foreign subsidiaries, permanently reinvested outside of the United States 668.5    
Accumulated earnings attributable to foreign subsidiaries, not permanently reinvested outside of the United States 185.4    
Unremitted earnings 10.4 11.5  
Deferred tax asset valuation allowances 10.8 10.3  
Reserve for unrecognized tad positions 67.3 62.0 51.6
Accrued interest and penalties related to uncertain tax positions 0.1 0.3 0.2
Total liability recognized 4.2 $ 4.1 $ 3.8
Foreign      
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Unremitted earnings 10.4    
Net operating loss carryforwards 46.2    
Foreign net operating loss carryforwards subject to expiration 7.3    
Foreign net operating loss carryforwards not subject to expiration 38.8    
Domestic      
Significant Change in Unrecognized Tax Benefits is Reasonably Possible [Line Items]      
Net operating loss carryforwards 30.1    
Foreign net operating loss carryforwards subject to expiration 12.4    
Foreign net operating loss carryforwards not subject to expiration $ 17.6