============================================== Problem: When the value set is a double, a new Quantity is created, which does not follow the previously configured format (setDecimals). Solution: To copy the old format to the newly created quantity.