Skip to main content

ftExtended

ftExtended = 45

Example​

function IsExtendedFloat(Field: TField): Boolean;
begin
Result := Field.DataType = ftExtended;
end;

Usage​

ftExtended identifies an Extended floating field whose effective precision and storage depend on platform, field class and provider.

Additional Technical Info​

ftExtended is declaration ordinal 45 of TFieldType. It identifies the Extended floating family, but Delphi's effective Extended precision differs by target platform and a database/provider may map it through another representation.

It is binary floating point: many decimal fractions are approximate, NaN/Infinity/provider support varies, and exact equality/money/decimal identifiers are unsafe uses. Preserve the source schema and actual field class rather than assuming the enum guarantees wider-than-Double storage.

The example only inspects metadata and was source-reviewed; no floating calculation/dataset/database/runtime/image test ran.

Created 2026-07-15