Skip to content

Commit

Permalink
[TASK] Replace "t3-function-numberformat" with "confval" (#1091)
Browse files Browse the repository at this point in the history
This is a preparation for switching to PHP-based documentation rendering.

Additionally:
- Anchors are added

Releases: main, 12.4

Co-authored-by: Chris Müller <[email protected]>
  • Loading branch information
github-actions[bot] and brotkrueml authored Mar 1, 2024
1 parent 18a4ee0 commit fbac599
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
16 changes: 12 additions & 4 deletions Documentation/Functions/Numberformat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ for that function. Consult the PHP manual, if unsure.
Properties
==========

.. _numberformat-decimals:

decimals
--------

.. t3-function-numberformat:: decimals
.. confval:: decimals

:Data type: :ref:`data-type-integer` / :ref:`stdwrap`
:Default: 0
Expand All @@ -39,28 +41,34 @@ decimals

Your input will in that case be rounded up or down to the next integer.


.. _numberformat-dec-point:

dec\_point
----------

.. t3-function-numberformat:: dec_point
.. confval:: dec_point

:Data type: :ref:`data-type-string` / :ref:`stdWrap <stdwrap>`
:Default: .

Character that divides the decimals from the rest of the number.


.. _numberformat-thousands-sep:

thousands\_sep
--------------

.. t3-function-numberformat:: thousands_sep
.. confval:: thousands_sep

:Data type: :ref:`data-type-string` / :ref:`stdwrap`
:Default: ,

Character that divides the thousands of the number.
Set an empty value to have no thousands separator.

.. _numberformat-examples:
.. _numberformat-examples:

Examples
========
Expand Down
1 change: 0 additions & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use_opensearch =

[sphinx_object_types_to_add]

t3-function-numberformat = t3-function-numberformat // t3-function-numberformat // Function numberformat
t3-function-numrows = t3-function-numrows // t3-function-numrows // Function numRows
t3-function-parsefunc = t3-function-parsefunc // t3-function-parsefunc // Function parseFunc
t3-function-replacement = t3-function-replacement // t3-function-replacement // Function replacement
Expand Down

0 comments on commit fbac599

Please sign in to comment.