CurrencyFormatter.SignificantDigits 属性

定义

获取或设置设置货币金额格式时当前填充为有效数字。

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

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

属性值

Int32

int

有效位数。

实现

注解

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

适用于