[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'db' (#fcl)

# TFloatField.Currency

Is the field a currency field.

## Declaration

Source position: db.pas line 648

`published property TFloatField.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 TField.DisplayText and TField.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

TField.DisplayText |  | Formatted field value
TField.Text |  | Text representation of the field
TNumericField.DisplayFormat |  | Format string for display of numerical data
TNumericField.EditFormat |  | Format string for editing of numerical data

The latest version of this document can be found at lazarus-ccr.sourceforge.net .