SSF

SSF

Spreadsheet formatter.

Constructor

new SSF()

Source:

Members

(static) _table

Source:

The underlying object, mapping numeric keys to format strings. return {{}}

(static) format

Source:

Render value using format string or code. If fmt is a string, it will be parsed and evaluated. If fmt is a number, the actual format will be the corresponding entry in the internal format table. For a raw numeric format like 000, the value should be passed as a string.

Date arguments are interpreted in the local time of the JS client.

(static) load

Source:

Load format string

(static) version :string

Source:

The version of SSF.

Type:
  • string

Methods

(static) get_table() → {Object}

Source:

Gets the internal format table (number to format mapping).

Returns:
Type
Object