NumberRounder | numberRounder property

PermilleFormatter.NumberRounder | numberRounder property

Gets or sets the current rounding strategy to be used when formatting permilles.

Syntax


var numberRounder = permilleFormatter.numberRounder;
permilleFormatter.numberRounder = numberRounder;

Property value

Type: INumberRounder

A number rounder object: IncrementNumberRounder or SignificantDigitsNumberRounder.

Remarks

When a Format method is called, the appropriate rounding function from the number rounder object manipulates the input prior to it being formatted.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.winmd

See also

PermilleFormatter

 

 

Show:
© 2016 Microsoft