Share via


CurrencyFormatter.SignificantDigits Property

Definition

Gets or sets the current padding to significant digits when a currency amount is formatted.

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

Property Value

Int32

int

The number of significant digits.

Implements

Remarks

Trailing zeros are added to the format until the given number of significant digits is exhausted. If there are more digits, this property does not cause them to be truncated.

Applies to