XML 32 R22.htm IDEA: XBRL DOCUMENT
v3.23.2

Basis of presentation (Details) $ in Millions | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Aug. 04, 2023 USD ($) | Jul. 29, 2022 USD ($) | Aug. 04, 2023 USD ($) | Jul. 29, 2022 USD ($) | Feb. 02, 2024 period | Feb. 03, 2023 USD ($) period
Fiscal year, number of weeks | period |  |  |  |  | 52 | 53
Merchandise inventories |  |  |  |  |  |
LIFO provision | $ 20.2 | $ 144.4 | $ 48.4 | $ 205.8 |  |
Supply Chain Finance Program |  |  |  |  |  |
Contractual Obligation | $ 270.7 |  | $ 270.7 |  |  | $ 343.6

X
- Definition Represents the number of weeks in a fiscal year. + References No definition available. + Details
Name: | dg_FiscalPeriodFiscalYearNumberOfWeeks
Namespace Prefix: | dg_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of contractual obligation, including, but not limited to, long-term debt, lease obligation, purchase obligation, and other commitments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480678/235-10-S99-3 + Details
Name: | us-gaap_ContractualObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The change in the inventory reserve representing the cumulative difference in cost between the first in, first out and the last in, first out inventory valuation methods, which change has been reflected in the statement of income during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 5.L) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480581/330-10-S99-1 + Details
Name: | us-gaap_InventoryLIFOReservePeriodCharge
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=dg_SupplyChainFinanceProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |