I suspect that the output of the macro is a typeset expression which is not a number.
Perhaps someone else can help more.
Archive powered by MHonArc 2.6.24.