Calculation

Samples, Snippets, & Training
No Comments
Loading Add to Favorites
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00)
log on to rate
Loading...
Share
Tweet
Cite
[comment memo="This is a completely meaningless calculator"]
favorite color [select name="color" value="red=0|brown=1|blue=2|green=3"]
favorite movie [select name="movie" value="Popeye=0|Good Morning Vietnam=1|What Dreams May Come=2|The Fisher King=3"]
favorite carbohydrate [select name="carb" value="lactose intolerant=0|pasta=1|rice=2|potatoes=3"]
[calc value="(color)+(movie)+(carb)" memo="score"]
[calc value="score=(color)+(movie)+(carb); score>8?'You almost ate enough fiber today':score>4?'You forgot to finish something important today':'You have no time for this'" memo="score interpretation"]
This is a completely meaningless calculator
favorite color
favorite movie
favorite carbohydrate
score(color)+(movie)+(carb)
score interpretationscore=(color)+(movie)+(carb); score>8?'You almost ate enough fiber today':score>4?'You forgot to finish something important today':'You have no time for this'
Result - Copy and paste this output:

Leave a Reply