DecimalFormat.Percent PropertyDecimalFormat.Percent PropertyDecimalFormat::Percent Property

Gets or sets the character used for the percent-sign.

Syntax

Public Property Percent As Integer
        Get
        Set(ByVal value As Integer)
public int Percent { get; set; }
public:
property int Percent {
    int get();
    void set(int value);
}
 

Property Value

Type: System.Int32System.Int32System::Int32

The Unicode codepoint of the percent sign.

Exceptions

ExceptionCondition
ArgumentExceptionArgumentExceptionArgumentExceptionRaised if PercentPercentPercent is set to an invalid value for an XML character.

Remarks

The default value is "%".