Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDef.AsFloat property

Member of TFPExprIdentifierDefpublicIn unit fpExprPars

Get identifier value as float

Declaration

pascal
property AsFloat: TExprFloat read GetAsFloat write SetAsFloat;

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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.