I was just alerted that an action-number field will force an integer value, and I need to be able to use floats as well. Do I have to use an action-text and post-process it?
I was just alerted that an action-number field will force an integer value, and I need to be able to use floats as well. Do I have to use an action-text and post-process it?
European number formatting will use commas in place of dots. If you’re using this value in the HTML then you’ll need to do a quick replace(/,/g, “.”) first.
Joe
On 23 Sep 2011, at 13:35, Tim Plumb wrote:
Hi Walter,
This will do it for you;
Regards,
Tim.
On 23 Sep 2011, at 12:37, Walter Lee Davis wrote:
I was just alerted that an action-number field will force an integer value, and I need to be able to use floats as well. Do I have to use an action-text and post-process it?
We need all of this on the Wiki, and boy, wouldn’t it be nice if the decimal place was returned as a dot, no matter how it was formatted for display? Add the comma-to-dot conversion into the action-number’s fwvalue method, in other words…
Walter
On Sep 23, 2011, at 9:07 AM, Joe Billings wrote:
European number formatting will use commas in place of dots. If you’re using this value in the HTML then you’ll need to do a quick replace(/,/g, “.”) first.
Joe
On 23 Sep 2011, at 13:35, Tim Plumb wrote:
Hi Walter,
This will do it for you;
Regards,
Tim.
On 23 Sep 2011, at 12:37, Walter Lee Davis wrote:
I was just alerted that an action-number field will force an integer value, and I need to be able to use floats as well. Do I have to use an action-text and post-process it?