Skip to content

TFPExprIdentifierDef.AsFloat

Get identifier value as float

Declaration

Source position: fpexprpars.pp line 538

public property AsFloat: TExprFloat;

Description

The AsFloat property returns the identifier's value converted to a floating-point number. If the identifier represents a variable, it retrieves the current value; if it represents a function, it calls the function and returns the result converted to float format.