I have a bit of a problem and as a complete beginner trying to hack 
something together, I'm not sure what I'm doing wrong. I found a plugin, 
calc, from http://tobibeer.github.io/tb5/#calc and after importing and 
creating, I was able to get some basic math working.

I created the following fields in a tiddler:

Needed_Value
Reduced_Value
Reduction
Set_to_Value

Two of these are text fields I created with the following:

Needed Value: <$edit-text tiddler='$:/plugins/RB/GameCalc/GameCalcSettings' 
field='needed_value'/>
Reduced_Value: <$edit-text 
tiddler='$:/plugins/RB/GameCalc/GameCalcSettings' field='reduced_value'/>

I'm able to do <<calc !!needed_value / by:!!reduced_value>> and I receive 
2. The other two are fields in the tiddler but I didnt add anything. I'm 
trying to run the two calculations below, "reduction" and "set to value"

Needed_Value = 200.00 (User entered text, the goal is to reach 200.00)
Reduced_Value = 100.00 (User entered text, the value is 100.00)
Reduction = 50% (Calculation, meaning the value 100.00 is 50% of the needed 
value)
Set_to_Value = 400.00 (Calculation, meaning the value would need to be 
reset to 400.00, because 50% is the needed value of 200.00)

Could someone point me in the right direction?



Warmest Regards



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2b326a41-18be-4e08-af47-4ec9e2eb453d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to