Table of Contents

TTMSFNCCustomDataGrid.ValueToInt64 Method

Safely converts a raw cell value to an Int64 using default formatting.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Safely converts a raw cell value to an Int64 using default formatting.

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

Parameters

Name Description
AValue The raw cell value to convert.

Returns

Int64 representation of the value.

Overload 2

Safely converts a raw cell value to an Int64 using the specified locale format settings.

function ValueToInt64(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): Int64; overload;

Parameters

Name Description
AValue The raw cell value to convert.
AFormatSettings Locale-specific format settings for parsing.

Returns

Int64 representation of the value.