Table of Contents

TTMSFNCDataGridData.ValueToInt64 Method

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

API unit family: TMSFNCDataGridData Declaring type: TTMSFNCDataGridData

Overloads

Overload 1

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

class function ValueToInt64(AValue: TTMSFNCDataGridCellValue): Int64; overload;

Parameters

Name Description
AValue Cell value to test or convert.

Returns

The value converted to a 64-bit integer.

Overload 2

Safely converts a raw cell value to Int64 respecting locale-specific number parsing.

class function ValueToInt64(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): Int64; 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 a 64-bit integer.