liquid icon indicating copy to clipboard operation
liquid copied to clipboard

Don't render `sum` filter results in scientific notation.

Open jg-rp opened this issue 2 years ago • 0 comments

This pull request changes the standard sum filter to return a float instead of a BigDecimal when given one or more floats as input, as all standard math filters do.

This is necessary to prevent the result being rendered in scientific notation.

Closes #1725.

jg-rp avatar Jun 30 '23 16:06 jg-rp