|**EMPLOYEE BENEFIT PLANS**         | 6 Months Ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
|---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
|**Retirement Benefits [Abstract]** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
|EMPLOYEE BENEFIT PLANS             | EMPLOYEE BENEFIT PLANSIn the second quarter of fiscal year 2024, the Company settled plan benefits of its domestic qualified pension plan (the Plan) and recorded a one-time noncash charge, net of curtailment gain, of $171 before taxes ($130 after tax) in the Company’s condensed consolidated statement of earnings and comprehensive income.The Company continues to maintain various other retirement income plans for eligible domestic and international employees.The following table summarizes the components of net periodic benefit (credit) cost for the Company’s remaining retirement income plans:Three months endedSix months ended12/31/202412/31/202312/31/202412/31/2023Interest cost$2$3$3$8Expected return on plan assets(1)(1)1(1)(2)Amortization of unrecognized items—1—3Curtailment gain—(6)—(6)Settlement (gain) loss(4)177(4)178Total$(3)$176$(2)$181(1)The weighted average long-term expected rate of return on plan assets used in computing the fiscal year 2025 net periodic benefit cost is 5.8%.The net periodic benefit (credit) cost for the Company’s retirement health care plans was ($1) for both the three and six months ended December 31, 2024 and $0 for both the three and six months ended December 31, 2023.During both the three months ended December 31, 2024 and 2023, the Company made $2 in contributions to its domestic retirement income plans. During both the six months ended December 31, 2024 and 2023, the Company made $4 in contributions to its domestic retirement income plans.Service cost component of the net periodic benefit cost, if any, is reflected in employee benefit costs. All other components are reflected in Other (income) expense, net.
|                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
|                                   | Three months ended                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
|                                   | 12/31/2024                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
|                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
|Interest cost                      | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Expected return on plan assets(1)  | (1)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|Amortization of unrecognized items | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Curtailment gain                   | —                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
|Settlement (gain) loss             | (4)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
|Total                              | $                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 

X- ReferencesNo definition available.+ Details**Name:**us-gaap_CompensationAndRetirementDisclosureAbstract**Namespace Prefix:**us-gaap_**Data Type:**xbrli:stringItemType**Balance Type:**na**Period Type:**duration X- DefinitionThe entire disclosure for retirement benefits.+ ReferencesReference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 17 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480482/715-20-55-17Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iv)(03) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (q) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (l) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -Name Accounting Standards Codification -Publisher FASB -URI https://asc.fasb.org/715/tableOfContentReference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d)(iii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (o) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (p) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (r)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (r)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480506/715-20-50-1Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480126/715-20-S99-2Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 60 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480266/715-60-50-3+ Details**Name:**us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock**Namespace Prefix:**us-gaap_**Data Type:**dtr-types:textBlockItemType**Balance Type:**na**Period Type:**duration