Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDef.AsCurrency property

Member of TFPExprIdentifierDefpublicIn unit fpExprPars

Get identifier value as currency

Declaration

pascal
property AsCurrency: Currency read GetAsCurrency write SetAsCurrency;

Description

The AsCurrency property returns the identifier's value converted to a currency data type. 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 currency format.

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