PercentFormatter.SignificantDigits PercentFormatter.SignificantDigits PercentFormatter.SignificantDigits PercentFormatter.SignificantDigits PercentFormatter.SignificantDigits Property

Definition

Gets or sets the current padding to significant digits when a percent is formatted.

public : int SignificantDigits { get; set; }
int32_t SignificantDigits();

void SignificantDigits(int32_t significantdigits);
public int SignificantDigits { get; set; }
Public ReadWrite Property SignificantDigits As int
var int = percentFormatter.significantDigits;
percentFormatter.significantDigits = int;

Property Value

int int int

The number of significant digits.

Remarks

Trailing zeros are added to the format until the given number of significant digits is exhausted. If there are more digits, this property does not cause them to be truncated.