CheckFirst
  • CheckFirst
  • Get started
    • Tutorials
      • Yes/No
      • Quiz
      • Constants table
      • Date calculator
      • Complex example
    • Logic Syntax
  • Features
    • Questions
    • Constants
    • Logic
      • Calculator logic
      • Conditional logic
      • Date logic
      • Map constant
      • Results formatting
    • Settings
  • FAQ
    • Full Logic Syntax List
  • Contact Us
  • Updates
Powered by GitBook
On this page

Was this helpful?

  1. Features
  2. Logic

Calculator logic

Allows you to write out math formulas

PreviousLogicNextConditional logic

Last updated 3 years ago

Was this helpful?

Calculated logic blocks currently offer these types of calculations:

  • Addition

  • Subtraction

  • Division

  • Multiplication

  • Min

  • Max

  • Mean

  • Mode

  • St Dev.

  • Round - Floor

  • Round - Ceiling

  • Referencing multiple calculated fields

  • If else statement

.

Pro tip: If you know how to write Math.js commands, you can create your own custom logic.

Operator keyboard shortcuts

Name

Math symbol

Keyboard shortcut

Example

Plus

+

N1+N2

Minus

-

N1-N2

Multiply

*

N1*N2

Divide

/

N1/N2

Left parentheses

(

N1(N2)

Right parentheses

)

N1(N2)

Power to

^

N1^2

Greater than

>

N1>1

Greater than or equals to

>=

N1>=1

Less than

<

N1<1

Less than or equals to

<=

N1<=1

Equals to

==

N1==1

Not equals to

!=

N1!=1

The == sign is not just for numbers, but can also be used for strings of text. You can use it to specify if the user chosen option from R1 is a specific option, Option 1. R1=="Option 1"

Use these to set conditions in.

Learn how to use them on Math.js
conditional logic blocks