Verified Commit 9a5b988e authored by Štěpán Henek's avatar Štěpán Henek 🌩

round results to %0.2f

parent 0e10cb1a
......@@ -23,9 +23,9 @@
{% for record in results %}
<tr>
<td>{{ record["time"] }}</td>
<td>{{ record["speed_download"] }}</td>
<td>{{ record["speed_upload"] }}</td>
<td>{{ record["ping"] }}</td>
<td>{{ "%0.2f" | format(record["speed_download"]) }}</td>
<td>{{ "%0.2f" | format(record["speed_upload"]) }}</td>
<td>{{ "%0.2f" | format(record["ping"]) }}</td>
<td>
<a href="{{ "%s?%s" % (ns.detail_url, record["test_uuid"]) }}">{% trans %}Details{% endtrans %}</a>
&nbsp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment