INumberRounder 介面

定義

介面,傳回提供數個資料類型數目的四捨五入結果。

public interface class INumberRounder
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1416872821, 14573, 17969, 184, 12, 239, 52, 252, 72, 183, 245)]
struct INumberRounder
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1416872821, 14573, 17969, 184, 12, 239, 52, 252, 72, 183, 245)]
public interface INumberRounder
Public Interface INumberRounder
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

方法

RoundDouble(Double)

四捨五入 雙精度 浮點數。

RoundInt32(Int32)

四捨五入 Int32 數位。

RoundInt64(Int64)

四捨五入 Int64 數位。

RoundSingle(Single)

四捨五入 一數位。

RoundUInt32(UInt32)

四捨五入 UInt32 數位。

RoundUInt64(UInt64)

四捨五入 UInt64 數位。

適用於