Examples
Examples
Try the starting example
- Timing options [name,elapsed hours,daily rate currency,eligible weekend total currency or null,extras currency]; enter JSON (USD)
- [["Fri-Sun",48,30,50,5],["Sat-Mon",48,30,null,5]]
- Comparable option totals (JSON) (USD)
- [["Fri-Sun",55],["Sat-Mon",65]]
- Lowest supplied option (text)
- Fri-Sun
Try another scenario
- Timing options [name,elapsed hours,daily rate currency,eligible weekend total currency or null,extras currency]; enter JSON (USD)
- [["Fri-Mon",72,35,65,8],["Sat-Sun",24,35,40,8]]
- Comparable option totals (JSON) (USD)
- [["Fri-Mon",73],["Sat-Sun",43]]
- Lowest supplied option (text)
- Sat-Sun
Calculation method
Calculation method
Comparable option totals (JSON) (USD)
Base=min(ceil(hours/24)×daily rate,eligible weekend total if present); add extras.
Lowest supplied option (text)
Option with lowest total, tie by input order.
Symbols and units
- a
- Timing options [name,elapsed hours,daily rate currency,eligible weekend total currency or null,extras currency]; enter JSON (USD)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- User-supplied weekend eligibility and complete weekend package prices; days round upward in 24-hour blocks. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. Elapsed hours>0; nonnegative tariffs/extras; weekend price null means ineligible; no date-derived tariff eligibility inferred.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.