Interface IAccountingStatic

Index

Properties

Methods

Properties

public settings: IAccountingSettings

Methods

public formatColumn(numbers: Array<number>, symbol?: string, precision?: number, thousand?: string, decimal?: string, format?: string): Array<string>

Parameters

  • numbers: Array<number>
  • symbol?: string optional
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional
  • format?: string optional

Returns

Array<string>

public formatColumn(numbers: Array<number>, options: IAccountingCurrencySettings): Array<string>

Parameters

Returns

Array<string>

public formatColumn(numbers: Array<number>, options: IAccountingCurrencySettings): Array<string>

Parameters

Returns

Array<string>

public formatColumn(numbers: Array<number[]>, symbol?: string, precision?: number, thousand?: string, decimal?: string, format?: string): Array<string[]>

Parameters

  • numbers: Array<number[]>
  • symbol?: string optional
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional
  • format?: string optional

Returns

Array<string[]>

public formatColumn(numbers: Array<number[]>, options: IAccountingCurrencySettings): Array<string[]>

Parameters

Returns

Array<string[]>

public formatColumn(numbers: Array<number[]>, options: IAccountingCurrencySettings): Array<string[]>

Parameters

Returns

Array<string[]>

public formatMoney(number: number, symbol?: string, precision?: number, thousand?: string, decimal?: string, format?: string): string

Parameters

  • number: number
  • symbol?: string optional
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional
  • format?: string optional

Returns

string

public formatMoney(number: number, options: IAccountingCurrencySettings): string

Parameters

Returns

string

public formatMoney(number: number, options: IAccountingCurrencySettings): string

Parameters

Returns

string

public formatMoney(numbers: Array<number>, symbol?: string, precision?: number, thousand?: string, decimal?: string, format?: string): Array<string>

Parameters

  • numbers: Array<number>
  • symbol?: string optional
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional
  • format?: string optional

Returns

Array<string>

public formatMoney(numbers: Array<number>, options: IAccountingCurrencySettings): Array<string>

Parameters

Returns

Array<string>

public formatMoney(numbers: Array<number>, options: IAccountingCurrencySettings): Array<string>

Parameters

Returns

Array<string>

public formatMoney(numbers: Array<any>, symbol?: string, precision?: number, thousand?: string, decimal?: string, format?: string): Array<any>

Parameters

  • numbers: Array<any>
  • symbol?: string optional
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional
  • format?: string optional

Returns

Array<any>

public formatMoney(numbers: Array<any>, options: IAccountingCurrencySettings): Array<any>

Parameters

Returns

Array<any>

public formatMoney(numbers: Array<any>, options: IAccountingCurrencySettings): Array<any>

Parameters

Returns

Array<any>

public formatNumber(number: number, precision?: number, thousand?: string, decimal?: string): string

Parameters

  • number: number
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional

Returns

string

public formatNumber(number: number, options: IAccountingNumberSettings): string

Parameters

Returns

string

public formatNumber(number: Array<number>, precision?: number, thousand?: string, decimal?: string): Array<string>

Parameters

  • number: Array<number>
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional

Returns

Array<string>

public formatNumber(number: Array<number>, options: IAccountingNumberSettings): Array<string>

Parameters

Returns

Array<string>

public formatNumber(number: Array<any>, precision?: number, thousand?: string, decimal?: string): Array<any>

Parameters

  • number: Array<any>
  • precision?: number optional
  • thousand?: string optional
  • decimal?: string optional

Returns

Array<any>

public formatNumber(number: Array<any>, options: IAccountingNumberSettings): Array<any>

Parameters

Returns

Array<any>

public toFixed(number: number, precision?: number): string

Parameters

  • number: number
  • precision?: number optional

Returns

string

public unformat(string: string, decimal?: string): number

Parameters

  • string: string
  • decimal?: string optional

Returns

number