New to Telerik Document ProcessingStart a free 30-day trial

Provides configuration for number formatting, specifying decimal places and thousand separator usage.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Infos

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class NumberFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectNumberFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

Initializes a new instance of the NumberFormatStringInfo class.

C#
public NumberFormatStringInfo(int decimalPlaces, bool useThousandSeparator)
Parameters:decimalPlacesint

The decimal places.

useThousandSeparatorbool

The use thousand separator.

Properties

Number of decimal places to display in the formatted value.

C#
public int DecimalPlaces { get; }
Property Value:

The decimal places.

Indicates whether thousand separators are included in the formatted output.

C#
public bool UseThousandSeparator { get; }
Property Value:

The use thousand separator.