Bridge

NumberFormatInfo..::..PercentDecimalDigits Property

Gets or sets the number of decimal places to use in percent values.

Namespace:  System.Globalization
Assembly:  Bridge (in Bridge.dll)

Syntax


[FieldPropertyAttribute]
public int PercentDecimalDigits { get; set; }
<FieldPropertyAttribute> _
Public Property PercentDecimalDigits As Integer
	Get
	Set
[FieldPropertyAttribute]
public:
property int^ PercentDecimalDigits {
	int^ get ();
	void set (int^ value);
}

Return Value

The number of decimal places to use in percent values. The default for InvariantInfo is 2.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe property is being set to a value that is less than 0 or greater than 99.
System..::..InvalidOperationExceptionThe property is being set and the NumberFormatInfo object is read-only.