Commit 13c292f1728353fcea9aee8817dd1c8e7fd1106b

Authored by Antoine Goutenoir
1 parent 06cdead8
Exists in master

Fix the display of tons of CO2.

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
flaskr/templates/estimation.html
... ... @@ -32,9 +32,9 @@
32 32 {% endif %}
33 33 </span>
34 34
35   - {{ "%.d" | format((city.footprint/1000.0) | round() | int) }} tons CO<sub>2</sub><small>EQ</small>
  35 + {{ "%.1f" | format((city.footprint/1000.0) | round(1)) }} tons CO<sub>2</sub><small>EQ</small>
36 36
37   - {{ "%.d" | format(city.distance | round() | int) }} km
  37 + {{ "%d" | format(city.distance | round() | int) }} km
38 38 </li>
39 39 {% endfor %}
40 40 </ul>
... ...