Table of Contents

TFormulaValue.AsNumber Method

Returns the value of the formula if it contains a number. If it contains other datatype, this method will throw an exception.

Check IsNumber to see if the formula contains a number.

Syntax

Unit: FlexCel.Core

function TFormulaValue.AsNumber: Double;

See also