Active
Project:
Formatted Number
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2011 at 07:48 UTC
Updated:
28 Feb 2012 at 04:40 UTC
When trying to use a Formatted Decimal in a Views Math expression I get the following error:
user warning: unexpected ',' in /usr/local/apache2/htdocs/drupal6/sites/all/modules/ctools/includes/math-expr.inc on line 357.
While the error message is misleading, I am pretty sure that CTools is choking on the comma separators in the Formatted Decimal.
Is this a bug or "working as designed"?
Cheers,
Kevin
Comments
Comment #1
tinker commentedI don't know views math but normally when you use a formatted number in views you can select the render format. I am assuming you select a field that contains a numeric value. The formatted number stored value does not have formatting (beyond decimal point) so if you use the 'unformatted' setting you should be good.