I'm currently using Cheetah Templates with my python code and I'm passing in a number of floating point numbers. I'd like to truncate these floats to only two decimal places within the template, e.g. 0.2153406 would become 0.21
Is it possible to do this within the Cheetah template of do I have to pass in already truncated strings?
I just discovered a solution via output from complex expressions using #echo:

#echo '%.2f' % $my_float_var#

This prints out my float in the variable $my_float_var with only two decimal places.
How do I truncate floats to two decimal places in cheetah templates?