Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django round 2 decimal

{{ value|floatformat:2 }}  # outputs 34.23
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #decimal
ADD COMMENT
Topic
Name
9+2 =