diff options
author | Jonah Lawrence <jonah@freshidea.com> | 2022-10-31 09:29:23 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 17:29:23 +0200 |
commit | 05df10fd1474e929793183c3b0ffa28251df79eb (patch) | |
tree | 9cda5dd93418b7abc83ff0b3ada5d28fb453c9ff /docs | |
parent | 03c8fae835c16d63fa5f4e3141074abb8bad3e83 (diff) | |
download | babel-05df10fd1474e929793183c3b0ffa28251df79eb.tar.gz |
Add support for compact decimal formats (#909)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api/numbers.rst | 2 | ||||
-rw-r--r-- | docs/numbers.rst | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/api/numbers.rst b/docs/api/numbers.rst index f9b0833..eac5692 100644 --- a/docs/api/numbers.rst +++ b/docs/api/numbers.rst @@ -13,6 +13,8 @@ Number Formatting .. autofunction:: format_decimal +.. autofunction:: format_compact_decimal + .. autofunction:: format_currency .. autofunction:: format_percent diff --git a/docs/numbers.rst b/docs/numbers.rst index ed3b60f..cbe05cd 100644 --- a/docs/numbers.rst +++ b/docs/numbers.rst @@ -12,7 +12,7 @@ the ``babel.numbers`` module: .. code-block:: pycon - >>> from babel.numbers import format_number, format_decimal, format_percent + >>> from babel.numbers import format_number, format_decimal, format_compact_decimal, format_percent Examples: |