TTMSFNCCustomDataGrid.ValueToFloat Method
Safely converts a raw cell value to a Double using default formatting.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Overloads
Overload 1
Safely converts a raw cell value to a Double using default formatting.
function ValueToFloat(AValue: TTMSFNCDataGridCellValue): Double; overload;
Parameters
| Name | Description |
|---|---|
AValue |
The raw cell value to convert. |
Returns
Double-precision floating-point representation.
Overload 2
Safely converts a raw cell value to a Double using the specified locale format settings.
function ValueToFloat(AValue: TTMSFNCDataGridCellValue; AFormatSettings: TFormatSettings): Double; overload;
Parameters
| Name | Description |
|---|---|
AValue |
The raw cell value to convert. |
AFormatSettings |
Locale-specific format settings for parsing. |
Returns
Double-precision floating-point representation.