Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.04 KB

significantdigitsnumberrounder_significantdigits.md

File metadata and controls

30 lines (18 loc) · 1.04 KB
-api-id -api-type
P:Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder.SignificantDigits
winrt property

Windows.Globalization.NumberFormatting.SignificantDigitsNumberRounder.SignificantDigits

-description

Gets or sets the number of significant digits this SignificantDigitsNumberRounder object uses for rounding.

-property-value

The number of significant digits used for rounding.

-remarks

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.

-examples

-see-also