Added feature to set value digits.