Retrieves and assigns the character used as the decimal separator.
[Visual Basic] Public Property PercentDecimalSeparator As String [C#] public string PercentDecimalSeparator {get; set;} [C++] public: __property String* get_PercentDecimalSeparator(); public: __property void set_PercentDecimalSeparator(String*); [JScript] public function get PercentDecimalSeparator() : String; public function set PercentDecimalSeparator(String);
Read/write. This property retrieves and assigns the character 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