
Is there a function for macros similar to ceil() and floor() that just does a normal round? If not, I think this would be a great addition.
Consider the following macro:
[[d20+0.25*@{STR}]]
This macro will print out a decimal response not very useful for most RPGs: e.g. 10.25
If I use ceil():
[[d20+ceil(0.25*@{STR})]]
then a player with 1STR incorrectly gets the same bonus as someone with 4STR. Using floor() results in a similar problem.
A round() function would be a simple addition that would fit nicely with the ceil() and floor() functions.
Consider the following macro:
[[d20+0.25*@{STR}]]
This macro will print out a decimal response not very useful for most RPGs: e.g. 10.25
If I use ceil():
[[d20+ceil(0.25*@{STR})]]
then a player with 1STR incorrectly gets the same bonus as someone with 4STR. Using floor() results in a similar problem.
A round() function would be a simple addition that would fit nicely with the ceil() and floor() functions.