summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2020-06-04 09:11:37 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-06-04 10:34:54 +0200
commit9e57b1efb5205bd94462e9de35254ec5ea6eb04e (patch)
tree73978009b7fa524b6cc92f48aeb51940f673b0d0 /docs/topics
parent51250d2f123b694ab7e09c119cb72d4878266688 (diff)
Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/i18n/formatting.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/i18n/formatting.txt b/docs/topics/i18n/formatting.txt
index 3dbb10f2dc..f58ff0e963 100644
--- a/docs/topics/i18n/formatting.txt
+++ b/docs/topics/i18n/formatting.txt
@@ -142,6 +142,9 @@ To force localization of a single value, use :tfilter:`localize`. To
control localization over a large section of a template, use the
:ttag:`localize` template tag.
+Returns a string representation for unlocalized numbers (``int``, ``float``,
+or ``Decimal``).
+
.. _custom-format-files:
Creating custom format files