Skip to content

Commit

Permalink
Add precision to to_string function
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Feb 7, 2025
1 parent 2ce4f8f commit e216acc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/user_manual/expressions/expression_help/Conversions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ Converts a string to a real number. If a value cannot be converted to real the e
to_string
.........

Converts a number to string.
Converts a number to string. The conversion is not locale-aware, see 'format_number' for a locale-aware alternative.

.. list-table::
:widths: 15 85
Expand All @@ -348,7 +348,7 @@ Converts a number to string.
* - Arguments
- * **number** - Integer or real value. The number to convert to string.
* - Examples
- * ``to_string(123)`` → '123'
- * ``to_string(1.23)`` → '1.23'


.. end_to_string_section
Expand Down
4 changes: 2 additions & 2 deletions docs/user_manual/expressions/expression_help/String.rst
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ Converts all words of a string to title case (all words lower case with leading
to_string
.........

Converts a number to string.
Converts a number to string. The conversion is not locale-aware, see 'format_number' for a locale-aware alternative.

.. list-table::
:widths: 15 85
Expand All @@ -578,7 +578,7 @@ Converts a number to string.
* - Arguments
- * **number** - Integer or real value. The number to convert to string.
* - Examples
- * ``to_string(123)`` → '123'
- * ``to_string(1.23)`` → '1.23'


.. end_to_string_section
Expand Down

0 comments on commit e216acc

Please sign in to comment.