# Formulas

Formulas use the values of numeric Entries.

**Card** → **Enable Formula**

## Operator Precedence

Formulas follow arithmetic rules: $1+2\times 3=7$

Exponentiation is right associative: $2^2^3=256$

## Nested Cards are like parentheses

Deeper Cards compute before their parent(s).

Hypotenuse = (a^{2} + b^{2})^{½}

## Nested Card Operator

Nested Cards have an operator unless they are the first Formula item.

## Rounding

## Presets

**Card** → **Formula Presets**

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

## Alternatives to Formulas

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

function ({ radius }) { return Math.PI * radius.value ** 2 }