RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReader.ReadFloat Method

Reads a floating-point number from the reader object's stream and returns its value.

Pascal
function ReadFloat: Extended;
C++
__fastcall Extended ReadFloat();

ReadFloat is a helper method used by other reader methods to read a tagged floating-point data value at the current reader Position. ReadFloat first checks the value type (TValueType) by calling the ReadValue method. If the item is a vaExtended ReadFloat calls Read and returns the float value. Otherwise it calls ReadInteger

 

Position 

Read 

ReadInteger 

ReadValue 

TValueType

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!