"add" template filter always converts arguments to integers
|Reported by:||jfw||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The "add" template filter currently converts its arguments to integers. This makes using it with, for example, Decimals, impossible
It seems that changing it might break existing code, so perhaps another filter could be made? Obviously, I could make my own, but it seems like a useful thing for everyone. At the very least, the documentation on it should be updated--it made me think I was crazy until I looked at the code for the filter.