Table of Contents

TFormulaValue.TryToDouble Method

Tries to convert this value to a number, and returns true is possible.

Syntax

Unit: FlexCel.Core

function TFormulaValue.TryToDouble(out d: Double; const AllowArrays: Boolean = True): Boolean;

Parameters

<-> Parameter Type Description
out d Double Will contain the value as a number, if the result of this method is true.
const AllowArrays Boolean Optional: Default value is True

Returns

When false, it is not possible to convert the value to a double, and the parameter d is undefined.

See also