aboutsummaryrefslogtreecommitdiff
path: root/docs/source/user/settings.rst
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-23 17:20:11 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2021-12-23 17:20:11 +0100
commit4023903eac7c1bb76287b20133913a6d786b7c0d (patch)
treebd9806706e50ef6bd9da00615c09907bc390c714 /docs/source/user/settings.rst
parent81d91de68170396e12d75525a96439a280f95aa7 (diff)
New property ``precision`` for ``decimal`` fields.
Diffstat (limited to 'docs/source/user/settings.rst')
-rw-r--r--docs/source/user/settings.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/source/user/settings.rst b/docs/source/user/settings.rst
index 565ae73..2d3a3fa 100644
--- a/docs/source/user/settings.rst
+++ b/docs/source/user/settings.rst
@@ -86,6 +86,17 @@ Some field types may add other custom properties.
the amount by which an ``auto: increment`` field is incremented
(negative values are of course allowed). Default is 1.
+``decimal`` properties
+----------------------
+
+``precision``:
+ if this property is set, every value in this field will get rounded
+ to the given number of decimals.
+
+ With this property it is possible to store decimal values as YAML
+ floats instead of strings.
+
+
``date`` and ``datetime`` properties
------------------------------------