The toString() in the return statement could probably be eliminated if the path resulting in a number at that point could be corrected. I suspect the problem occurs when the "toFixed" conversion is made, because no further conversion turns that into a string.
On Thursday, 17 September 2015 02:06:57 UTC-5, Tobias Beer wrote: > > Hi Evan, > > >> I invite you to re-write your code more elegantly than I have with my >> limited understanding. >> > > Tbh, as you can see from my question above, > my understanding, more often than not, likewise is rather limited. ^_^ > > For now, I am happy to see you have helped fix this > and I will remember something about returning strings in js macros > ...for reasons yet to be demystified. > > With what purpose would you wish (some part) of this little macro to be > rewritten? > > Best wishes, > > — tb > -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6d8400bc-f5b3-436f-bd7a-19d86955bae5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.