I've discovered that this does not work:
But this does:
Further testing reveals that just 'BONUS:VAR|TestVarPre|round(TL/2)' is not working.
This is likely a floating point representation issue. See http://en.wikipedia.org/wiki/Floating_point#Representable_numbers.2C_conversion_and_rounding
As round() is a JEP function and not one documented in PCGen, we will not be not be making any changes to the function. See http://www.singularsys.com/jep/doc/javadoc/com/singularsys/jep/functions/Round.html for details on the function. We are using JEP v2.4.1 the latest open source version of JEP.