On Thursday, April 29, 2021 at 7:07:44 AM UTC-7 TiddlyTweeter wrote: <$list filter="8.4 +[multiply[0.195]]"/> =1.6380000000000001 Is there any way to "round" the OUTPUT to a more readable: *1.638* or *1.64* ??
You can use the fixed[n] operator, where "n" is the number of desired decimal places. Thus: <$list filter="8.4 +[multiply[0.195]fixed[3]]"/> see https://tiddlywiki.com/#fixed%20Operator -e On Thursday, April 29, 2021 at 7:07:44 AM UTC-7 TiddlyTweeter wrote: > Ciao Mark S. > > MUCH appreciated ... > > *<$list filter="8.4 0.195 +[product[]]"/>* > *=1.6380000000000001* > > *<$list filter="8.4 +[multiply[0.195]]"/>* > *=1.6380000000000001* > > Is there any way to "round" the OUTPUT to a more readable: *1.638* or > *1.64* ?? > > *(FYI, I just returned from walking the Hutterite Mile, under doctor's > orders.)* > > Best wishes > TT > > On Thursday, 29 April 2021 at 15:14:39 UTC+2 Mark S. wrote: > >> There are actually two ways to multiply things in TW now. The *multiply* >> operator, and the *product* operator. I always have to check the >> documentation to remember which is which. In your case, since you have only >> two items to multiply, you could use either approach: >> >> <$list filter="8.4 0.195 +[product[]]"/> >> >> <$list filter="8.4 +[multiply[0.195]]"/> >> > -- 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/c95067c8-45f6-4ad1-a2ce-95d5657b6d02n%40googlegroups.com.

