views:

22

answers:

1

I notice in some Velocity reports I'm working with that $fn contains some built in functions for Velocity. I can't seem to find a list of these. For example, `$fn.formatNumber($fn.duration($time),'##0.0')

My google-fu has failed me on this one. Anyone have link to the docs on this?

+1  A: 

Those are not built in. It is some utility class that either is getting added to every context somewhere or is registered in velocity-tools.xml as a custom tool.

serg
You were right. We had a custom class that was being auto-imported to the context of all scripts.Thanks for the pointer!
glowcoder