XML 37 R27.htm IDEA: XBRL DOCUMENT
v3.23.2

Assets and liabilities measured at fair value (Details) $ in Thousands | Aug. 04, 2023 USD ($)
--- | ---
Reported amount | Long-term obligations |
Liabilities: |
Long-term obligations | $ 7,295,215
Reported amount | Accrued expenses and other current liabilities |
Liabilities: |
Deferred compensation | 9,666
Reported amount | Noncurrent Other liabilities |
Liabilities: |
Deferred compensation | 41,099
Fair value measurements on recurring basis | Balance at the end of the period |
Liabilities: |
Current and long-term obligations | 7,024,188
Deferred compensation | 50,765
Fair value measurements on recurring basis | Quoted Prices in Active Markets for Identical Assets and Liabilities (Level 1) |
Liabilities: |
Current and long-term obligations | 6,518,633
Deferred compensation | 50,765
Fair value measurements on recurring basis | Significant Other Observable Inputs (Level 2) |
Liabilities: |
Current and long-term obligations | $ 505,555

X
- Definition Fair value portion of the current and noncurrent liability for deferred compensation arrangements. + References No definition available. + Details
Name: | dg_DeferredCompensationCashBasedArrangementsLiabilityCurrentAndNoncurrentFairValueDisclosure
Namespace Prefix: | dg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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

X
- Definition The fair value amount of long-term debt whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. + References No definition available. + Details
Name: | us-gaap_LongTermDebtFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after deduction of unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_CarryingReportedAmountFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=dg_LongTermDebtAndCapitalLeaseObligationsNoncurrentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=dg_AccruedExpensesAndOtherCurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherNoncurrentLiabilitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementBasisAxis=us-gaap_EstimateOfFairValueFairValueDisclosureMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |