PercentFormatter.SignificantDigits Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the current padding to significant digits when a percent is formatted.
public:
property int SignificantDigits { int get(); void set(int value); };
int SignificantDigits();
void SignificantDigits(int value);
public int SignificantDigits { get; set; }
var int32 = percentFormatter.significantDigits;
percentFormatter.significantDigits = int32;
Public Property SignificantDigits As Integer
Property Value
Int32
int
The number of significant digits.
Implements
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.