Pretty basic question, I believe... I have been trying to get some plugin
macros to work, and the output is NaN, which I am guessing means "not a
number".
The plugin macros work if a number is put in the macro call, but when I try
to transclude a field it gives NaN. The macro is supposed to output the raw
score and a bonus based on the raw score. It's a Dungeons & Dragons thing
if you aren't familiar.
<<dnd.ability 16>> Gives correct output: 16 (+3)
<<dnd.ability {{!!dnd.creature.str}}>> Gives: NaN <#NaN> (−NaN
<#NaN>)
{{!!dnd.creature.str}} Correctly transcludes the field value: 16
Is there the something line an INT function that must be used to say this
is an integer and not a string?
Also, I was simply pasting in some of the mathematics operator examples and
they do not evaluate the expression. There is obviously something else I am
missing:
[[23]add[19]] gives 23]add[19 <#23%5Dadd%5B19>
Thanks!
--
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/5329b09b-2498-450f-b980-a31a8d7403a7n%40googlegroups.com.