Views Calc computes properly on Commerce fields for sum, average, etc.; but displays the result as a whole number, no decimals (screenshot attached).

The Commerce fields are stored as INT data types and display formatters are available to choose which format to display the data with in the view.

Would you consider making the Commerce Display Formats available in Views Calc Table Settings so the results can be displayed in the same format as the column data?

CommentFileSizeAuthor
Sum-1.jpg50.04 KBRonD
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim’s picture

Title: Commerce Amount Fields not Formated for Views Calc Result » render() not called on field handlers
Component: User interface » Code
Category: feature » bug

This more generally applies to any field type that relies on its handler's render() being called to present its output properly.