Interface Numeral

Index

Call signatures

Properties

Methods

Call signatures

(value?: any): Numeral

Parameters

  • value?: any optional

Returns

Numeral

Properties

public isNumeral: boolean

public version: string

Methods

public add(value: any): Numeral

Parameters

  • value: any

Returns

Numeral

public clone(): Numeral

Returns

Numeral

public difference(value: any): number

Parameters

  • value: any

Returns

number

public divide(value: any): Numeral

Parameters

  • value: any

Returns

Numeral

public format(inputString: string): string

Parameters

  • inputString: string

Returns

string

public language(key: string, values?: NumeralJSLanguage): Numeral

Parameters

Returns

Numeral

public multiply(value: any): Numeral

Parameters

  • value: any

Returns

Numeral

public set(value: any): Numeral

Parameters

  • value: any

Returns

Numeral

public subtract(value: any): Numeral

Parameters

  • value: any

Returns

Numeral

public unformat(inputString: string): number

Parameters

  • inputString: string

Returns

number

public value(): number

Returns

number

public valueOf(): number

Returns

number

public zeroFormat(format: string): string

Parameters

  • format: string

Returns

string