Formulas

Arithmetic

CardEnable Formula

Basic Formula

Parentheses (Nested Cards)

Deeper Cards compute before their parent(s). Therefore, Nested Cards act like parentheses. They have an operator unless they are the first formula item.

Spring Work Math Formula

Rounding

Rounding Half Up

Presets

CardFormula Presets

To remove a preset, re-click the active preset button.

Formula Presets

Selectors

Formulas use the selected Entry Value.

Checkboxes

Internally, a Checkbox value is 1 or 0. This example multiplies that value by $5.00 (a "Hidden in Previewer" Entry) using a formula. Effectively, this is a no-code conditional form.

Alternatives to Formulas

The next document is about integrating JavaScript. Therefore, you can also write formulas like:

Formula with JavaScript
function ({ radius }) {
  return Math.PI * radius.value ** 2
}
Next JavaScript  ️⇾