Problem:
I want to output a number with decimal and thousands separator or other syntaxes.
Solution:
This is not possible with the Toolset Number Field.
In the Toolset Number Field, you can pass a decimal number using a dot (.) as decimal separator only.
In Single Line Fields you could use any separator you like, but remember that the WordPress query threats every value as the string, unless otherwise specified.
This can influence sorting, searching and querying, and when specific characters like a comma (,) or repeating dots are present, it might not return the expected results.
the best is to have decimal values separated by a dot only
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 9 replies, has 3 voices.
Last updated by 6 years, 10 months ago.
Assisted by: Beda.