Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention in the docs that to_string is not locale-aware #60479

Merged

Conversation

elpaso
Copy link
Contributor

@elpaso elpaso commented Feb 6, 2025

Fixes #60440

@elpaso elpaso added GUI/UX Related to QGIS application GUI or User Experience Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Feb 6, 2025
@github-actions github-actions bot added this to the 3.42.0 milestone Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 685a002)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 685a002)

@elpaso elpaso merged commit 2f6bcb3 into qgis:master Feb 6, 2025
42 checks passed
@elpaso elpaso deleted the bugfix-gh60440-to_string-not-locale-aware branch February 6, 2025 15:21
@@ -5,11 +5,11 @@
"description": "Converts a number to string.",
"arguments": [{
"arg": "number",
"description": "Integer or real value. The number to convert to string."
"description": "Integer or real value. The number to convert to string. The conversion is not locale-aware, see 'format_number' for a locale-aware alternative."
Copy link
Member

@agiudiceandrea agiudiceandrea Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to add the note to the function description, instead of the argument description?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done 7c5db3b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Labels with decimal values do not use Locale when decimal is used in a text expression
3 participants