using python string formatting in a django template,{{(variable | stringformat): '.3f'}}