Share via


DecimalFormatter.NumberRounder Property

Definition

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.

Applies to