Skip to content

Main content

Protective Blanket Stock Issued Balance

Reconcile explicit relief blanket stock counts using exact integer arithmetic without allocating aid priorities.

Loading tool…

Description

Calculate a relief-blanket stock balance after receipts and issues.

Historical and noncombat logistics records connect source conventions, museum dimensions, relief supplies and recorded service dates. A stock residual or nominal portion count is bookkeeping, while a scale factor describes supplied exhibit geometry. These limited quantities do not verify historical identity, suitable shelter capacity or protective performance.

Calculate a relief-blanket stock balance after receipts and issues.

When to use this tool

Use Protective Blanket Stock Issued Balance when you already have openingBlankets, receivedBlankets, issuedBlankets and need to calculate a relief-blanket stock balance after receipts and issues.

How to use the tool and how it works

  1. Enter openingBlankets, receivedBlankets, issuedBlankets. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read closingBalance. Use the output convention below.

Require nonnegative safe whole counts; compute opening+received-issued using BigInt and export a safe integer.1

Input fieldMeaning and unitsAccepted input
openingBlanketsOpening BlanketsRequired. Safe integer; minimum 0.
receivedBlanketsReceived BlanketsRequired. Safe integer; minimum 0.
issuedBlanketsIssued BlanketsRequired. Safe integer; minimum 0.
Output fieldInterpretationReturned shape
closingBalanceClosing BalanceRequired. Safe integer.
json
{
  "input": {
    "openingBlankets": 20,
    "receivedBlankets": 8,
    "issuedBlankets": 5
  },
  "output": {
    "closingBalance": 23
  }
}

Limitations and assumptions

  • Negative balances are retained and unsafe outputs rejected; no physical stock, insulation performance, allocation fairness or suitable protection is verified.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Reconcile original historical records and physical inventories, and inspect dimensioned museum or shelter plans when relevant. Use complete logistics and site requirements for an actual allocation; local counts and margins are individual record components.

References

  1. Calculation and input contract: military-science/protective-blanket-stock-issued-balance — tool.io

Similar or alternative tools