I hope to get this result:
34.000 --> 34
34.100 --> 34.1
34.120 -->      34.12
34.123 -->      34.123

But the output of floatformat filter is like this:
34.000|floatformat:"-3" --> 34
34.100|floatformat:"-3" --> 34.100
34.120|floatformat:"-3" --> 34.120
34.123|floatformat:"-3" --> 34.123

Thank you very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to