Suppose, we have a view with a decimal field:
It is output like this:
5 000.000
Is it possible to remove the ending zeros, so it looked like this:
5 000
But if there are meaningful values in the field, it should output all of them. For example:
5.100 -> 5.1
5.010 -> 5.01
5.001 -> 5.001