public void Update(object value) { if (_numberBox != null) { _numberBox.Text = NumberBox.FormatNumber(Convert.ToDouble(value), _decimals); } }