Calculator Template

This calculator performs a simple computation then interprets the result
[text name="A"] <-- A (enter a number)
[text name="B"] <-- B (enter a number)

A + B --> [calc value="score1=(A)+(B)" memo="computation"]
A + B --> [calc value="score2=(A)+(B);score2>1000?'Sum is greater than 1000':score2>100?'Sum is greater than 100 and less than or equal to 1000':score2>10?'Sum is greater than 10 and less than or equal to 100':score2>0?'Sum is greater than 0 and less than or equal to 10':'sum is 0 or less'" memo="interpretation"]
This calculator performs a simple computation then interprets the result
<-- A (enter a number)
<-- B (enter a number)

A + B --> computationscore1=(A)+(B)
A + B --> interpretationscore2=(A)+(B);score2>1000?'Sum is greater than 1000':score2>100?'Sum is greater than 100 and less than or equal to 1000':score2>10?'Sum is greater than 10 and less than or equal to 100':score2>0?'Sum is greater than 0 and less than or equal to 10':'sum is 0 or less'

Result - Copy and paste this output:

Sandbox Metrics: Structured Data Index 0, 4 form elements, 30 boilerplate words, 2 text boxes, 2 calculations, 2 total clicks
Questions/General site feedback

Send Feedback for this SOAPnote

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More SOAPnotes by this Author: