Retrieves and assigns the String used as the decimal separator.
[Visual Basic] Public Property NumberDecimalSeparator As String [C#] public string NumberDecimalSeparator {get; set;} [C++] public: __property String* get_NumberDecimalSeparator(); public: __property void set_NumberDecimalSeparator(String*); [JScript] public function get NumberDecimalSeparator() : String; public function set NumberDecimalSeparator(String);
Read/write. The String used as the decimal separator. The default value is '.'.
Exception Type | Condition |
---|---|
ArgumentException | value to assign is null. |
InvalidOperationException | This NumberFormatInfo object is read-only and an attempt is made to assign a value. |
Assignment is not allowed if this NumberFormatInfo object is read-only.
NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace