Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comments
Comment #1
joachim CreditAttribution: joachim commentedThis more generally applies to any field type that relies on its handler's render() being called to present its output properly.