A number column's format. The style is kept as saved, so one a newer Cube adds is kept, and shown as if no format were set.

interface ColumnFormat {
    currency?: string;
    decimalPlaces?: number;
    grouping: boolean;
    parenthesesIfNegative: boolean;
}

Properties

currency?: string

An ISO 4217 code, e.g. USD, for the currency style

decimalPlaces?: number

The digits after the point, every one shown; all of the value's when left out

grouping: boolean

Thousands separators

parenthesesIfNegative: boolean

(1,234) for -1234