DecimalFormatter.NumberRounder 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 rounding strategy to be used when formatting numbers.
public:
property INumberRounder ^ NumberRounder { INumberRounder ^ get(); void set(INumberRounder ^ value); };
INumberRounder NumberRounder();
void NumberRounder(INumberRounder value);
public INumberRounder NumberRounder { get; set; }
var iNumberRounder = decimalFormatter.numberRounder;
decimalFormatter.numberRounder = iNumberRounder;
Public Property NumberRounder As INumberRounder
Property Value
A number rounder object: IncrementNumberRounder or SignificantDigitsNumberRounder.
Implements
Remarks
When a Format method is called, the appropriate rounding function from the number rounder object manipulates the input prior to it being formatted.