| |||||||||
NumberFormatInfo.PercentGroupSeparator PropertySystem.Globalization Namespace NumberFormatInfo Class Sets or retrieves the string that separates groups of digits to the left of the decimal in percent values. [ VB ] public Property PercentGroupSeparator As String [ C# ] public string PercentGroupSeparator {get; set;} [ C++ ] public: __property String* get_PercentGroupSeparator ( ); public: __property void set_PercentGroupSeparator ( String* ); [ JScript ] function get PercentGroupSeparator ( ) : String; public function set PercentGroupSeparator ( String ); Property ValueThe string that separates groups of digits to the left of the decimal in percent values. The default for InvariantInfo is ",". Exceptions
RemarksIf any of the group separators ( NumberGroupSeparator, CurrencyGroupSeparator, or PercentGroupSeparator ) is the same as any of the decimal separators ( NumberDecimalSeparator, CurrencyDecimalSeparator, or PercentDecimalSeparator ), parsing ambiguous strings produces unpredictable results. If you explicitly set any of the group separator properties in NumberFormatInfo to a value that is the same as any of the decimal separators or if you explicitly set any of the decimal separators to a value that is the same as any of the group separators, ArgumentException is thrown. See AlsoNumberFormatInfo Members PercentDecimalDigits PercentDecimalSeparator PercentGroupSizes PercentSymbol PercentNegativePattern PercentPositivePattern CurrencyGroupSeparator NumberGroupSeparator |
| ||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme