INumberRounder INumberRounder INumberRounder INumberRounder INumberRounder Interface

Definition

An interface that returns rounded results for provided numbers of several data types.

public : interface INumberRounder
struct winrt::Windows::Globalization::NumberFormatting::INumberRounder
public interface INumberRounder
Public Interface INumberRounder
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

RoundDouble(Double) RoundDouble(Double) RoundDouble(Double) RoundDouble(Double) RoundDouble(Double)

Rounds a Double number.

RoundInt32(Int32) RoundInt32(Int32) RoundInt32(Int32) RoundInt32(Int32) RoundInt32(Int32)

Rounds an Int32 number.

RoundInt64(Int64) RoundInt64(Int64) RoundInt64(Int64) RoundInt64(Int64) RoundInt64(Int64)

Rounds an Int64 number.

RoundSingle(Single) RoundSingle(Single) RoundSingle(Single) RoundSingle(Single) RoundSingle(Single)

Rounds a Single number.

RoundUInt32(UInt32) RoundUInt32(UInt32) RoundUInt32(UInt32) RoundUInt32(UInt32) RoundUInt32(UInt32)

Rounds a UInt32 number.

RoundUInt64(UInt64) RoundUInt64(UInt64) RoundUInt64(UInt64) RoundUInt64(UInt64) RoundUInt64(UInt64)

Rounds a UInt64 number.