Mono Class Library: System.Globalization.NumberFormatInfo Overview | Members

System.Globalization.NumberFormatInfo.PercentDecimalDigits Property

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

public int PercentDecimalDigits { set; get; }

Value

A int containing the number of decimal places in percent values.

Exceptions

TypeReason
ArgumentOutOfRangeExceptionThe value specified for a set operation is less than 0 or greater than 99.
InvalidOperationExceptionThe current instance is read-only and a set operation was attempted.

Remarks

The culture-invariant value for this property is 2.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0