Very nice stuff. One thought. Is there a way that you could take the RESULT of a first operation and use that number for the INPUT number of a second step ... and so one?
Hope this is clear! Best wishes TT On Tuesday, 22 October 2019 03:05:33 UTC+2, A Gloom wrote: > > \define ragscalculator2(cnumb1,copera,cnumb2) > <$list filter=[[$cnumb1$]$copera$[$cnumb2$]]><<currentTiddler>></$list> > \end > > <<ragscalculator2 (1st number) (math operator) (2nd number)>> > > > ragscalculator2 : : macro name > (1st number) : first number of your math equation > (math operator) : the math operation you want preformed > for + : use "add" > for - : use "subtract" > for x : use "multiply" > for รท : use "divide" > (2nd number) : second number of your math equation > > > <<ragscalculator2 2 subtract 2>> > > > produces just the solution to the equation/a number > > > 0 > > > Can be expanded for more numbers/equation steps and using the other math > filter operators Tiddlywiki provides (abs, add, ceil, divide, exponential, > fixed, floor, max, maxall, min, minall, multiply, negate, precision, > product, remainder, round, sign, subtract, sum, trunc, untrunc) > > As with the calculator tiddler, the macro can be used with variables for > input from other sources. > > > <ragscalculator $(num1variable)$ $(operatorvariable)$ $(num2variable)$>> > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aca756de-ee36-4ee6-82ef-72eeb3f49760%40googlegroups.com.

