This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Description
|
|
|
void SetValue (string value) |
|
{ |
|
if (this.numericEditor.StringValue != value) { |
|
this.numericEditor.StringValue = value; |
|
} |
|
} |
|
|
|
public void SetValue (double value) |
|
{ |
|
SetValue (value.ToString ()); |
It's not handling culture infos (european like for example Spain) where NumericDecimalSeparator is "dot" and not the "comma"
I recommend use a.ToString(System.Globalization.CultureInfo.InvariantCulture); for this cases