-api-id | -api-type |
---|---|
P:Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder.SignificantDigits |
winrt property |
Gets or sets the number of significant digits this SignificantDigitsNumberRounder object uses for rounding.
The number of significant digits used for rounding.
This property is initialized to a default value of 1.
If this property is 0, no rounding is performed by the SignificantDigitsNumberRounder object.
When rounding is performed, leading 0s in the input are not considered. Significant digits are counted beginning with the first non-zero digit until the number of SignificantDigits occurs, and then RoundingAlgorithm is used to round at that position.