Конвертация в decimal
This commit is contained in:
parent
e884d5e332
commit
0012615e11
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user