createNumberJsFormatter()
Home > @gooddata/sdk-ui > createNumberJsFormatter
createNumberJsFormatter() function
Creates value formatter that uses @gooddata/number-formatter
to format raw measure values according to the format string.
Signature:
export declare function createNumberJsFormatter(separators?: ISeparators): ValueFormatter;
Parameters
Parameter | Type | Description |
---|---|---|
separators | ISeparators | (Optional) number separators to use. if not specified then numberjs defaults will be used |
Returns:
Remarks
By default, the format will strip away all the coloring information and just return the value as string.