System.Classes.TWriter.WriteFloat
Delphi
procedure WriteFloat(const Value: Extended);
C++
void __fastcall WriteFloat(const System::Extended Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TWriter |
Description
Writes the passed Extended type floating-point Value
to the writer object's stream.
WriteFloat is used internally by the component streaming system to write the Extended type floating-point component properties to the writer object's stream.
WriteFloat first calls WriteValue(vaExtended)
to write the value-type indicator and then calls Write to write the passed Extended (or TExtended80Rec under 64-bit systems) 10-byte size Value
.
WriteFloat advances the current position after the last written byte.