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)
{{!!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:
Thanks!