diff --git a/cps/templates/detail.html b/cps/templates/detail.html index d4b4252c..0dfa1730 100644 --- a/cps/templates/detail.html +++ b/cps/templates/detail.html @@ -182,9 +182,13 @@ {% else %} {% endif %} + {% else %} + {% if c.datatype == 'float' %} + {{ '%d' % (column.value) }}{% if (column.value % 1) != 0 %}{{ '.%d' % ((column.value % 1)*100) }} {% endif %} {% else %} {{ column.value }} {% endif %} + {% endif %} {% endif %} {% endfor %} {% endif %}