Closed (fixed)
Project:
Views Calc
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2008 at 22:31 UTC
Updated:
22 Apr 2009 at 11:50 UTC
Or rather, not entirely properly. The totals come out to the correct number, it just appears that the decimal in the money fields is ignored.
i.e.
123.45
+ 543.21
= 66666 instead of 666.66
Comments
Comment #1
karens commentedI think this is because the money field handles decimal values differently -- it stores 66666 and then divides by 100 when it displays the value. Not sure right now how to incorporate that behavior in.
Comment #2
karens commentedI made changes to run the computed totals through the theme which *might* fix this. If that doesn't work you will have to create a custom field that divides the field value by 100 and then do your totals on that field.