New to Telerik Document ProcessingStart a free 30-day trial

Contains configuration for accounting format strings, including decimal precision and currency symbol.

Definition

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

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class AccountingFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectAccountingFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

Initializes a new instance of the AccountingFormatStringInfo class with specified decimal precision, currency, and format pattern.

C#
public AccountingFormatStringInfo(int decimalPlaces, CurrencyInfo currencyInfo, string formatString)
Parameters:decimalPlacesint

The decimal places.

currencyInfoCurrencyInfo

The currency info.

formatStringstring

The format string.

Properties

Currency information including symbol and culture for this accounting format.

C#
public CurrencyInfo CurrencyInfo { get; }
Property Value:

The currency info.

Number of decimal places to display in the formatted value.

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

The decimal places.

Full format string pattern used to format accounting values.

C#
public string FormatString { get; }
Property Value:

The format string.