Problem: How can I use decimal values in a numeric field, and how can I convert between displaying fractions and decimals?
Solution:
There is not a simple answer here. One option is to create a select field with each fraction listed in text, and its value predefined as a decimal. For example, the options could be as follows:
Text: 1/2, Value: 0.5
Text: 1/3, Value: 0.333333
Text: 1/4, Value: 0.25
Text: 1/8, Value 0.125
Text: 2/3, Value: 0.666666
Text: 3/4, Value: 0.75
Text: 3/8, Value: 0.375
Text: 5/8, Value: 0.625
Text: 7/8, Value: 0.875
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 réponses, has 2 voix.
Last updated by laurieH Il y a 6 années.
Assisted by: Christian Cox.