Interpreted Computation

Samples, Snippets, & Training
Loading Add to Favorites
Share
Tweet
Cite
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:

Home Forums Interpreted Computation

This topic contains 0 replies, has 1 voice, and was last updated by  Mark Morgan MD 1 year, 9 months ago.

Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.