PercentFormatter.SignificantDigits 属性

定义

获取或设置百分比格式时当前填充为有效数字。

public:
 property int SignificantDigits { int get(); void set(int value); };
int SignificantDigits();

void SignificantDigits(int value);
public int SignificantDigits { get; set; }
var int32 = percentFormatter.significantDigits;
percentFormatter.significantDigits = int32;
Public Property SignificantDigits As Integer

属性值

Int32

int

有效位数。

实现

注解

尾随零将添加到格式中,直到用尽给定数量的有效位数。 如果有更多数字,此属性不会导致它们被截断。

适用于