Skip to content

Main content

Measurement Boundary Rounding Gap Tool

Compare a supplied measurement with an explicitly floored/ceiled resolution-grid boundary; no clinical cutoff is selected.

Loading tool…

Description

Round suppliedBoundary/quantum downward or upward according to floorBoundary, multiply back by quantum, and return measured minus that quantizedBoundary.

Personal measurement records use resolutions, scales, reference values, and rounding rules. Resolution is a recording increment and differs from accuracy, uncertainty, and clinical agreement.

Round suppliedBoundary/quantum downward or upward according to floorBoundary, multiply back by quantum, and return measured minus that quantizedBoundary.

When to use this tool

Use Measurement Boundary Rounding Gap when you need one explicit measurement-record comparison or supplied calibration component.

How to use the tool and how it works

  1. Enter measured, suppliedBoundary, quantum, floorBoundary. 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 quantizedBoundary, gap. Use the output convention below.

Require positive quantum. Round suppliedBoundary/quantum downward or upward according to floorBoundary, multiply back by quantum, and return measured minus that quantizedBoundary.1

Input fieldMeaning and unitsAccepted input
measuredMeasuredRequired. Finite number.
suppliedBoundarySupplied BoundaryRequired. Finite number.
quantumQuantumRequired. Finite number; strictly above 0.
floorBoundaryFloor BoundaryRequired. Boolean.
Output fieldInterpretationReturned shape
quantizedBoundaryQuantized BoundaryRequired. Finite number.
gapSigned difference under the stated subtraction order.Required. Finite number.
json
{
  "input": {
    "measured": 5,
    "suppliedBoundary": 4.5,
    "quantum": 1,
    "floorBoundary": true
  },
  "output": {
    "quantizedBoundary": 4,
    "gap": 1
  }
}

Limitations and assumptions

  • Measurements and quantum share units; signed mathematical floor/ceiling and binary arithmetic apply, without selecting a clinical threshold or rounding policy.
  • 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

Check instrument specifications, unit definitions, and appropriate professional interpretation before drawing a health conclusion.

References

  1. Calculation and input contract: health/measurement-boundary-rounding-gap — tool.io

Similar or alternative tools