Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.TryValueToFloat Method

Attempts to convert a cell value to a floating-point number.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Syntax

FMX.TMSFNCDataGridRenderer.hppPascalC++
function TryValueToFloat(const AValue: TTMSFNCDataGridCellValue; out AFloat: Double): Boolean;
bool __fastcall TryValueToFloat(const TTMSFNCDataGridCellValue &AValue, /* out */ double &AFloat);

Parameters

Name Description
AValue The cell value to convert.
AFloat Receives the converted value when the conversion succeeds.

Returns

True when the value is numeric and the conversion succeeded.