XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.22.2

Revenue Recognition - Narrative (Details) - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
May 28, 2022 | May 29, 2021 | May 28, 2022 | May 29, 2021 | Aug. 28, 2021
Revenue From Contract With Customer [Abstract] |  |  |  |  |
Percentage of revenues derived from route servicing fees | 91.00% | 90.90% | 91.20% | 91.00% |
Current assets related to deferred commissions | $ 14.9 |  | $ 14.9 |  | $ 14.2
Noncurrent assets related to deferred commissions | 64.1 |  | 64.1 |  | $ 60.6
Amortization expense related to deferred commissions | $ 3.9 | $ 3.6 | $ 11.5 | $ 10.8 |

X
- Definition Revenue From Contracts With Customers, Percentage Of Revenues From Route Servicing Fees + References No definition available. + Details
Name: | unf_RevenueFromContractsWithCustomersPercentageOfRevenuesFromRouteServicingFees
Namespace Prefix: | unf_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of amortization expense for asset recognized from cost incurred to obtain or fulfill contract with customer. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123353750&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123353750&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostNetCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, after accumulated amortization and accumulated impairment loss, of asset recognized from cost incurred to obtain or fulfill contract with customer; classified as noncurrent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 340 -SubTopic 40 -Section 50 -Paragraph 3 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123353750&loc=SL49131252-203054 + Details
Name: | us-gaap_CapitalizedContractCostNetNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration