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

function TryValueToFloat(const AValue: TTMSFNCDataGridCellValue; out AFloat: Double): Boolean;

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.