Table of Contents

TTMSFNCDataGridData.ValueToString Method

Safely converts a raw cell value to string using default format settings.

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Overloads

Overload 1

Safely converts a raw cell value to string using default format settings.

class function ValueToString(AValue: TTMSFNCDataGridCellValue): string; overload;

Parameters

Name Description
AValue Cell value to test or convert.

Returns

The value converted to text.

Overload 2

Safely converts a raw cell value to string respecting locale-specific number and date formatting.

class function ValueToString(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): string; overload;

Parameters

Name Description
AValue Cell value to test or convert.
AFormatSettings Format settings used for locale-sensitive parsing or formatting.

Returns

The value converted to text.