SignificantDigitsNumberRounder.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 number of significant digits this SignificantDigitsNumberRounder object uses for rounding.
public:
property unsigned int SignificantDigits { unsigned int get(); void set(unsigned int value); };
uint32_t SignificantDigits();
void SignificantDigits(uint32_t value);
public uint SignificantDigits { get; set; }
var uInt32 = significantDigitsNumberRounder.significantDigits;
significantDigitsNumberRounder.significantDigits = uInt32;
Public Property SignificantDigits As UInteger
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.