diff options
| author | Preston Holmes <preston@ptone.com> | 2012-11-04 19:04:07 -0800 |
|---|---|---|
| committer | Preston Holmes <preston@ptone.com> | 2012-11-04 19:12:44 -0800 |
| commit | 2cb48fffd4eecdaf77231d8acce6e6fa484698a2 (patch) | |
| tree | b3a5a763eb754980fbec6536f8822d1dc5356c8d /docs | |
| parent | fdea2621cd3f3de472afaab7aa7152a1dc4f505c (diff) | |
Removed redundant docs addition across two commits
d5c3c45f2fdfee09d81ad8dc7b0db8338d6d0aae
a70492e6b532905c921678f35b5c60b22387f1c6
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 3220b5f611..c7fab8c53d 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -1528,17 +1528,6 @@ displayed. For example: ``34.26000`` ``{{ value|floatformat:"-3" }}`` ``34.260`` ============ ================================ ========== -If the argument passed to ``floatformat`` is 0 (zero), it will round the number -to the nearest integer. - -============ ================================ ========== -``value`` Template Output -============ ================================ ========== -``34.23234`` ``{{ value|floatformat:"0" }}`` ``34`` -``34.00000`` ``{{ value|floatformat:"0" }}`` ``34`` -``39.56000`` ``{{ value|floatformat:"0" }}`` ``40`` -============ ================================ ========== - Using ``floatformat`` with no argument is equivalent to using ``floatformat`` with an argument of ``-1``. |
