Quotespan

Dimensions & derived values

Numeric inputs with units and defaults, plus formulas that compute other values from them.

Dimensions (numeric inputs)

Each dimension has a label, a unit (e.g. ft, sqft, hours) and a default value. The default is what we use on the public form when the customer has not changed it yet.

Derived dimensions

A derived dimension is computed from a formula referencing other dimensions. They are evaluated whenever inputs change so the price updates in real time.

Supported functions

ceil, floor, round, abs, min, max and the basic operators + - * /.

Examples

  • ceil(length / 8) + 2 — number of fence posts when posts are spaced 8 ft apart, plus two end posts.
  • max(height, 1) — clamp height to at least 1.
  • length * height — total surface area.
Derived dimensions can be referenced by other derived dimensions, but the engine will throw if you create a cycle.