TOPIC 34/4414 MINNOT STARTED

Dates, money and choices in requirements and data dictionaries

Write exact requirements for dates and time zones, money and rounding, and fixed lists of choices, and record each in a data dictionary entry that builders and testers can use.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: A restaurant bill split by three people. Three friends split a bill. It comes to a total that does not divide evenly. Who pays the odd cent? Do they round up, round down or take turns? If they do not agree first, they argue at the till.

Software has the same problem with numbers, dates and choices. A is a region of the world that keeps the same clock time, which may differ from the next region. A is a written rule that says how many decimals to keep and which way to round. A code list is a fixed set of allowed values for a field, each with a code and a meaning.

Sam, the for the Daily List app, must write the due date of a task, the price of the paid plan, and the repeat choice for a task. Each looks simple. Each has a trap. Leo, the developer, and Tom, the tester, need exact words.

The picture has a limit. Friends can agree to be fair at the table. Software needs the rule written first.

PLAIN WORDS · 1 in this section
decimals
digits written after the decimal point

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.

THE REAL JOB The picture helps a newcomer remember that a shared number needs a rule agreed in advance, or people argue at the till.

  1. Whose time and zone
  2. Which currency and decimals
  3. Which way to round
  4. Which choices are allowed
  5. Where it is recorded
Four questions before you build

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
The restaurant billAn amount of money in a requirement
The odd centA rounding question
Agreeing who pays before orderingA written rounding policy
The menu of set dishesA code list of allowed choices
Three friends in different citiesUsers in different time zones

WHERE THIS PICTURE STOPS

  • Friends can agree to be fair at the table, while software needs the rule written first.
  • A bill has one currency, but a product may deal with many.
  • A bill is paid once, whereas a repeat choice or a price is used again and again.

HOOK

Whose time, which currency, which way to round, which choices.

REMEMBER IT THIS WAY

A chunk: a long list grouped so it is easier to hold.

Date, price, repeat choice: each pairs with one written rule, which is , , code list.

What each part of the trick stands for
In the trickWhat it stands for
Datea time zone is a region of the world that keeps the same clock time
Pricea rounding policy is a written rule that says how many decimals to keep and which way to round
Choicea code list is a fixed set of allowed values for a field

TELL A FRIEND

Distinguish day-only dates, unique instants and recurring local times. Money needs a currency and precision/; fixed choices need defined values; record each with examples.

OFTEN MIXED UP WITH What must not happen: edge and negative requirements. That topic finds edge cases in general. This one covers the edge cases of dates, money and fixed choices.

PRACTISE AND KEEP

Sources for this topic — 9 sources
  1. Market practice

    ISO 8601 — Date and time format ↗ — International Organization for Standardization · Catalogue page of the standard on date and time formats (International Organization for Standardization): the standard sets a written form for dates and times (registry source; page not opened in this batch)

    Defines the unambiguous written representation of dates and times, including the composite date-and-time form and the time-shift from UTC that a local timestamp carries. It is the authority behind the ISO 20022 date, time and date-time datatypes and behind the sign convention on a UTC offset. · Checked 2026-08-03

    Search excerpts only, page not opened. The standard is published in two parts — ISO 8601-1 basic rules and ISO 8601-2 extensions — and the full text is a paid publication. ISO 20022 elements reach these representations through XML Schema datatypes rather than by citing the standard directly, so the schema, not ISO 8601, decides which optional components a given element may omit.

  2. Market practice

    ISO 4217 — Currency codes ↗ — International Organization for Standardization · Catalogue page of the standard on currency codes (International Organization for Standardization): the standard lists currency codes (registry source; page not opened in this batch)

    Defines the three-letter and three-digit codes for currencies and funds, and — for currencies that have one — the relationship between a currency and its minor unit. It is the authority behind the currency attribute and the permitted number of decimal places on every ISO 20022 amount element. · Checked 2026-08-03

    Search excerpts only, page not opened. The per-currency code and minor-unit values are maintained in the standard's own lists and are revised as currencies change; look a currency up in the current list rather than quoting a decimal count from memory. ISO makes the currency codes available free of charge, but the full standard text is a paid publication.

  3. Market practice

    Time zones best practices (CalConnect developer guide) ↗ — CalConnect · Time zones best practices (CalConnect developer guide): the guide says to use named zones rather than short names and to keep the zone with a scheduled event (search excerpt, page not opened)

    Developer guide. Says to use named zones rather than short names and to keep the zone with a scheduled event. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Payments and fee rounding (Airwallex documentation) ↗ — Airwallex · Payments and fee rounding (Airwallex documentation): a vendor publishes its rounding method and notes that some currencies have no decimals (search excerpt, page not opened)

    Vendor documentation. Shows that a business must choose and publish a rounding method, and that some currencies have no decimals. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Daily List and the people are invented. The standards are registry sources whose pages were not opened; the guide and the vendor page are search excerpts. The rounding method shown is one choice among several, and the lesson says a business must decide and write its own.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  6. Market practice

    What Every Programmer Should Know About Floating-Point Arithmetic (The Floating-Point Guide) ↗ — floating-point-gui.de · Checked on PostgreSQL 16.15: 0.1::float8 + 0.2::float8 = 0.30000000000000004, numeric gives 0.3.

    Free to read. Explains that binary floating-point cannot store decimals such as 0.1 exactly, and that money is better held in a decimal type or in whole cents. Cite for that point only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number found. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Market practice

    decimal: Decimal fixed point and floating point arithmetic (Python documentation) ↗ — Python Software Foundation · Checked on PostgreSQL 16.15: 0.1::float8 + 0.2::float8 = 0.30000000000000004, numeric gives 0.3.

    Per the search excerpt, decimal numbers can be represented exactly, unlike binary floats. The module keeps trailing zeros, which suits money, and gives the programmer control over rounding. Build a Decimal from a string, not from a float. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  8. Market practice

    Temporal date and time types ↗ — MDN Web Docs · Normal-search technical maintainer documentation excerpts: Instant, PlainDate, PlainDateTime and ZonedDateTime distinguish exact instants from calendar/local time. An implementation illustration, not a mandated stack.

    Normal-search technical maintainer documentation excerpts: Instant, PlainDate, PlainDateTime and ZonedDateTime distinguish exact instants from calendar/local time. An implementation illustration, not a mandated stack. · Checked 2026-11-06

    Original educational paraphrase; no source figure copied. Access status is stated in applicability.

  9. Market practice

    Certified Professional for Requirements Engineering (CPRE) Foundation Level syllabus, English, version 3.3.0 (International Requirements Engineering Board) ↗ — International Requirements Engineering Board (IREB) · CPRE Foundation Level syllabus3.3.0,1April2026, §§3.5,3.8 (3.5 Glossaries; 3.8 Quality Criteria for Work Products and Requirements).

    CPRE Foundation Level syllabus3.3.0,1April2026, §§3.7 and4.1–4.4: prototype purposes, sources, technique families, quality needs/constraints, conflict methods and validation. · Checked 2026-11-06

    Primary versioned PDF opened via normal web tool and downloaded/extracted on2026-11-06. Copyright authors and IREB e.V.; original educational paraphrase with attribution. No source artwork copied.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.