Description
Divide items-reserved equally among households using integer floor for perHousehold and remainder for leftover items.
A farm or garden budget depends on a common area, quantity, observation period, and system boundary. Recovery, exclusions, overlap, and allocation change how a share is calculated. Supplied accounting or geometry terms remain separate from measured crop performance and verified environmental outcomes.
Divide items-reserved equally among households using integer floor for perHousehold and remainder for leftover items.
When to use this tool
Use Urban Harvest Household Share Rounding when you need a clearly bounded area, material, resource, energy, or allocation term for supplied garden or farm records.
How to use the tool and how it works
- Enter items, households, reserved. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read perHousehold, remainder. Use the output convention below.
Divide items-reserved equally among households using integer floor for perHousehold and remainder for leftover items. Require nonnegative integer items, reserve within items, and positive integer households.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| items | Items | Required. Safe integer; minimum 0. |
| households | Households | Required. Safe integer; minimum 1. |
| reserved | Reserved | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| perHousehold | Whole-item quotient after the reserve is removed. | Required. Safe integer. |
| remainder | Remainder | Required. Safe integer. |
{
"input": {
"items": 103,
"households": 10,
"reserved": 3
},
"output": {
"perHousehold": 10,
"remainder": 0
}
} Limitations and assumptions
- Remainders are not assigned automatically. This is equal-count allocation, without accounting for household size, food weight, eligibility, dietary needs, or distribution fairness.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- 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. Signed zero is exported as zero.
Alternative or Complementary methods
Verify the system boundary, units, and source records before combining this term into a resource or environmental report. Physical design and crop-performance questions require appropriate measurements and a broader model.
References
Similar or alternative tools
- Urban Compost Bin Usable Volume Term
Calculate usableCapacity=width*depth*(height-headspace) and remaining=usableCapacity-occupied.
- Urban Crop Consumed Donated Balance
Return unaccounted=harvested-consumed-donated-spoiled-retained and edibleShare=(consumed+donated+retained)/harvested.