RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWriter.WriteFloat Method

Writes the floating-point value passed in Value to the writer object's stream.

Pascal
procedure WriteFloat(const Value: Extended);
C++
__fastcall WriteFloat(const Extended Value);

WriteFloat is used internally by the component streaming system to write component properties to a stream. Use WriteFloat for writing floating point data to streams. 

WriteFloat checks to ensure that Value is the correct type before calling Write to write the float value and its value type to the stream. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!