FloatToDecimal procedure
Convert a float value to a
TFloatRec value.
Declaration
procedure FloatToDecimal(out Result: TFloatRec; const Value;
ValueType: TFloatValue; Precision: Integer;
Decimals: Integer)Description
FloatToDecimal converts the float
Value to a
float description in the
Result
TFloatRec format.
It will store
Precision digits in the
Digits field, of
which at most
Decimal decimals.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
