Home > @i2analyze/notebook-sdk > data > IFormatter > formatValue
data.IFormatter.formatValue() method
Formats a value as a string, using settings from the current locale as appropriate.
Signature:
formatValue(value: PropertyValue, options?: IFormattingOptions): string;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
value | PropertyValue | The value to format. |
options | IFormattingOptions | (Optional) A set of options that control some aspects of the format. |
Returns:
string
A string representation of the formatted value.