XML 47 R37.htm IDEA: XBRL DOCUMENT
v3.23.1

Acquisitions - Narrative (Details) $ in Millions |  |  | 6 Months Ended |
--- | --- | --- | --- | ---
Mar. 10, 2023 USD ($) | Feb. 26, 2023 USD ($) | Feb. 25, 2023 USD ($) Business | Mar. 26, 2021 USD ($)
Revolving Credit Facility | Credit Agreement |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Maximum borrowing capacity |  |  |  | $ 175.0
Subsequent Event | Revolving Credit Facility | Credit Agreement |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Maximum borrowing capacity |  | $ 275.0 |  |
Aggregate Information Relating to Acquisition of Businesses |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Number of business acquired | Business |  |  | 4 |
Business acquisitions, aggregate purchase price |  |  | $ 7.1 |
Clean Holdco, Inc. | Subsequent Event |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Business acquisitions, aggregate purchase price |  | $ 300.0 |  |
Clean Holdco, Inc. | Subsequent Event | Revolving Credit Facility | Credit Agreement |  |  |  |
Business Acquisition [Line Items] |  |  |  |
Maximum amount borrowed | $ 80.0 |  |  |

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. + References No definition available. + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum amount borrowed under the credit facility at any time during the period. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityMaximumAmountOutstandingDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The number of businesses acquired by the entity during the period. + References No definition available. + Details
Name: | us-gaap_NumberOfBusinessesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=unf_CreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=unf_CleanHoldcoIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |