Skip to content

Main content

Document Copy Fraction Charge Budget Tool

Calculate document copy fraction charge budget from explicit caller-supplied inputs.

Loading tool…

Description

Divide pages by positive pagesPerUnit, optionally round the result upward for units, and multiply by nonnegative pricePerUnit for charge.

An administrative calculation applies supplied clocks, fees, exclusions, roles, and document conditions. Numeric consistency and an explicit condition match can be useful record checks. They do not select the governing authority, verify evidence, or establish legal rights and obligations.

Divide pages by positive pagesPerUnit, optionally round the result upward for units, and multiply by nonnegative pricePerUnit for charge.

When to use this tool

Use Document Copy Fraction Charge Budget when you need a supplied administrative fee, clock, role, document, or accounting calculation before checking its substantive basis.

How to use the tool and how it works

  1. Enter pages, pagesPerUnit, pricePerUnit, roundUp. 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 units, charge. Use the output convention below.

Divide pages by positive pagesPerUnit, optionally round the result upward for units, and multiply by nonnegative pricePerUnit for charge. Require nonnegative pages.1

Input fieldMeaning and unitsAccepted input
pagesPagesRequired. Finite number; minimum 0.
pagesPerUnitPages Per UnitRequired. Finite number; strictly above 0.
pricePerUnitPrice Per UnitRequired. Finite number; minimum 0.
roundUpRound UpRequired. Boolean.
Output fieldInterpretationReturned shape
unitsUnitsRequired. Finite number.
chargeChargeRequired. Finite number.
json
{
  "input": {
    "pages": 12,
    "pagesPerUnit": 5,
    "pricePerUnit": 2,
    "roundUp": true
  },
  "output": {
    "units": 3,
    "charge": 6
  }
}

Limitations and assumptions

  • Pages may be fractional and roundUp is an explicit billing convention. Official fees, copying rights, exemptions, taxes, and currency rounding are not inferred.
  • 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

Consult the applicable authoritative rule and verify source records before deciding fees, authority, deadlines, or obligations. Keep a supplied scenario calculation separate from that evidence review.

References

  1. Calculation and input contract: public-administration/document-copy-fraction-charge-budget — tool.io

Similar or alternative tools