A different approach would be to use mathcell
(http://mathcell.tiddlyspot.com/) that emulates spreadsheet-like abilities.

##
Advertising

Good luck,
Mark
On Wednesday, August 2, 2017 at 1:05:14 PM UTC-7, Uwe wrote:
>
> Hello dear helpers,
>
> in some tiddlers I have some (< 20) fields with numbers in them, ie
> {{!!field1}}=2, {{!!field2}}=4 and {{!!field3}}=5 and so on.
>
> I imported $:/plugins/mklauber/math.js
> <http://mklauber.github.io/tiddly-mathjs/#%24%3A%2Fplugins%2Fmklauber%2Fmath.js>
>
> from http://mklauber.github.io/tiddly-mathjs/
>
> Using <$calc>, I *cannot *add the sum of these three fields
> {{!!field4}}=<$calc>{{!!field1}} + {{!!field2}} + {{!!field3}}</$calc> into
> field4.
> What went wrong?
>
> I need a solution for automatically calculating with the values of my
> fields (+, -, *, :, percent, average) and to store the result in an other
> named field. Is there such a solution out there? (Statistical values
> calculated about all tiddlers with these fields would be great.)
>
> The use case is to calculate the average points of students they got in
> some tests (and to get the average of all students).
>
> Greetings,
>
> Uwe
>
>
>
>
>
>
--
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/0b4eaccb-84b6-4dbd-b313-9eb27bd3c48e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.