Sign in Join
FPDoc Onlineexperiment

TFloatField.Currency property

Member of TFloatFieldpublishedIn unit DB

Is the field a currency field.

Declaration

pascal
property Currency: Boolean read FCurrency write SetCurrency default False;

Description

Currency can be set to True to indicate that the field contains data representing an amount of currency. This affects the way the DisplayText and Text properties format the value of the field: if the Currency property is True, then these properties will format the value as a currency value (generally appending the currency sign) and if the Currency property is False, then they will format it as a normal floating-point value.

See also

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