Description
Compare a package's per-unit price with a supplied reference price.
Hospitality records distinguish seating count, booking category, reset time, package prices and stock flows. A tax fraction based on net differs from a tax share of gross, and a seat count does not prove a usable layout. Supplies, service preferences and dietary allocations need verified operational records.
Compare a package's per-unit price with a supplied reference price.
When to use this tool
Use Minibar Package Unit Price Gap when you already have packPrice, unitsInPack, suppliedComparisonUnitPrice and need to compare a package's per-unit price with a supplied reference price.
How to use the tool and how it works
- Enter packPrice, unitsInPack, suppliedComparisonUnitPrice. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read packUnitPrice, unitPriceGap. Use the output convention below.
Require nonnegative pack/reference prices and positive safe whole unitsInPack; unit=pack/units, gap=unit-reference.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| packPrice | Pack Price | Required. Finite number; minimum 0. |
| unitsInPack | Units In Pack | Required. Safe integer; minimum 1. |
| suppliedComparisonUnitPrice | Supplied Comparison Unit Price | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| packUnitPrice | Pack Unit Price | Required. Finite number. |
| unitPriceGap | Unit Price Gap | Required. Finite number. |
{
"input": {
"packPrice": 12,
"unitsInPack": 4,
"suppliedComparisonUnitPrice": 2.5
},
"output": {
"packUnitPrice": 3,
"unitPriceGap": 0.5
}
} Limitations and assumptions
- Units, currency and tax basis must match; no menu charge, actual package, consumer entitlement or pricing recommendation 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 actual reservations, layouts, service preferences, invoices and inventories for operational questions. Apply the full menu, tax and dietary requirements when local counts, buffers or pricing terms cannot establish availability or suitability.
References
Similar or alternative tools
- Hotel Room Upgrade Price Difference
Measure a room upgrade's signed rate difference.
- Restaurant Table Seating Time Buffer
Calculate a seating gap and margin after supplied table-reset minutes.