SignificantDigitsNumberRounder.RoundUInt64(UInt64) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 UInt64 数字舍入到指定的有效位数。
public:
virtual unsigned long long RoundUInt64(unsigned long long value) = RoundUInt64;
uint64_t RoundUInt64(uint64_t const& value);
public ulong RoundUInt64(ulong value);
function roundUInt64(value)
Public Function RoundUInt64 (value As ULong) As ULong
参数
- value
-
UInt64
unsigned long long
uint64_t
要舍入的 UInt64 值。
返回
舍入的无符号 64 位整数。
实现
M:Windows.Globalization.NumberFormatting.INumberRounder.RoundUInt64(System.UInt64)
M:Windows.Globalization.NumberFormatting.INumberRounder.RoundUInt64(unsigned long long)
M:Windows.Globalization.NumberFormatting.INumberRounder.RoundUInt64(uint64_t)
注解
舍入策略基于 SignificantDigits 和 RoundingAlgorithm 的值。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈