Sometimes when using "mul", the values come out decimal. This may happen in situation where the validation expects an integer result (as it was for cost before for example), leading us to change that to Decimal.
This is a poor solution to the problem.
I think it is preferable that the paramNode code is not aware of the validation, so I think the simplest solution is to allow rounding following an attribute. See code.