diff options
Diffstat (limited to 'docs/formatting.rst')
-rw-r--r-- | docs/formatting.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/formatting.rst b/docs/formatting.rst index a0a414b..8728578 100644 --- a/docs/formatting.rst +++ b/docs/formatting.rst @@ -14,8 +14,10 @@ The conversion of :py:class:`Unit` and :py:class:`Quantity` objects to strings ( through the :py:class:`str` builtin or f-strings) can be customized using :ref:`format specifications <formatspec>`. The basic format is:: + [magnitude format][modifier][unit format] + where each part is optional and the order of these is arbitrary. In case any part (except the modifier) is omitted, the corresponding value in |