Конвертация в decimal

This commit is contained in:
kotcheshir73 2021-04-03 11:29:04 +04:00
parent e884d5e332
commit 0012615e11

View File

@ -77,7 +77,7 @@ namespace DesktopTools.BaseControls
public bool CheckValueForControl() => true;
public object GetValueFromControl() => !_mustFilling && checkBoxNullable.Checked ? null : Convert.ToDouble(numericUpDown.Value);
public object GetValueFromControl() => !_mustFilling && checkBoxNullable.Checked ? null : Convert.ToDecimal(numericUpDown.Value);
public string GetPropertyName() => _propertyName;
}