TSingleFormulaValue.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 TSingleFormulaValue.AsNumber: Double;