help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

FloatToDecimal

Convert a float value to a TFloatRec value.

Declaration

Source position: line 0

procedure FloatToDecimal(

  out Result: TFloatRec;

  const Value;

  ValueType: TFloatValue;

  Precision: Integer;

  Decimals: Integer

);

procedure FloatToDecimal(

  out Result: TFloatRec;

  Value: Extended;

  Precision: Integer;

  Decimals: Integer

);

Description

FloatToDecimal converts the float Value to a float description in the ResultTFloatRec format. It will store Precision digits in the Digits field, of which at most Decimal decimals.

Errors

None.

See also

TFloatRec

  

Record descriing a float value

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505