System.SysUtils.TFloatRec
Delphi
TFloatRec = packed record
C++
struct DECLSPEC_DRECORD TFloatRec
{
public:
short Exponent;
bool Negative;
System::StaticArray<System::Byte, 21> Digits;
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
TFloatRec declares a utility record that provides access to the attributes of a floating-point number.
The TFloatRec type declares a record that holds the attributes of a floating-point number. The record makes the attributes accessible for easy formatting or specialised numerical processing.
Exponent holds the floating-point number's exponent value.
Negative is set to True if the floating point number has a negative value.
Digits is a 21 element array of numeric characters representing the floating-point number mantissa value (its significant digits).
TFloatRec is used by the FloatToDecimal function to hold the results of the conversion of a floating-point value to its decimal representation.