Negative sign must be followed by a space
When a mapping contains a negative sign (-) followed by an operand, place a space after the negative sign. Two negative signs indicate a comment in SQL, so
-$P0 in a template would cause a problem when $P0 is a negative number such as -1. This would translate to --1, and would be interpreted as a comment.

Additional Links:

Copyright Actuate Corporation 2012