1338 | | ======== ======================= ====== |
1339 | | value Template Output |
1340 | | ======== ======================= ====== |
1341 | | 34.23234 {{ value|floatformat }} 34.2 |
1342 | | 34.00000 {{ value|floatformat }} 34 |
1343 | | 34.26000 {{ value|floatformat }} 34.3 |
1344 | | ======== ======================= ====== |
| 1338 | ============ =========================== ======== |
| 1339 | Value Template Output |
| 1340 | ============ =========================== ======== |
| 1341 | ``34.23234`` ``{{ value|floatformat }}`` ``34.2`` |
| 1342 | ``34.00000`` ``{{ value|floatformat }}`` ``34`` |
| 1343 | ``34.26000`` ``{{ value|floatformat }}`` ``34.3`` |
| 1344 | ============ =========================== ======== |
1349 | | ======== ========================= ====== |
1350 | | value Template Output |
1351 | | ======== ========================= ====== |
1352 | | 34.23234 {{ value|floatformat:3 }} 34.232 |
1353 | | 34.00000 {{ value|floatformat:3 }} 34.000 |
1354 | | 34.26000 {{ value|floatformat:3 }} 34.260 |
1355 | | ======== ========================= ====== |
| 1349 | ============ ============================= ========== |
| 1350 | Value Template Output |
| 1351 | ============ ============================= ========== |
| 1352 | ``34.23234`` ``{{ value|floatformat:3 }}`` ``34.232`` |
| 1353 | ``34.00000`` ``{{ value|floatformat:3 }}`` ``34.000`` |
| 1354 | ``34.26000`` ``{{ value|floatformat:3 }}`` ``34.260`` |
| 1355 | ============ ============================= ========== |
1361 | | ======== ============================ ====== |
1362 | | value Template Output |
1363 | | ======== ============================ ====== |
1364 | | 34.23234 {{ value|floatformat:"-3" }} 34.232 |
1365 | | 34.00000 {{ value|floatformat:"-3" }} 34 |
1366 | | 34.26000 {{ value|floatformat:"-3" }} 34.260 |
1367 | | ======== ============================ ====== |
| 1361 | ============ ================================ ========== |
| 1362 | Value Template Output |
| 1363 | ============ ================================ ========== |
| 1364 | ``34.23234`` ``{{ value|floatformat:"-3" }}`` ``34.232`` |
| 1365 | ``34.00000`` ``{{ value|floatformat:"-3" }}`` ``34`` |
| 1366 | ``34.26000`` ``{{ value|floatformat:"-3" }}`` ``34.260`` |
| 1367 | ============ ================================ ========== |