RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistry.ReadFloat Method

Retrieves a float value from a specified data value associated with the current key.

Pascal
function ReadFloat(const Name: string): Double;
C++
__fastcall Double ReadFloat(const AnsiString Name);

Call ReadFloat to read a float value from a specified data value associated with the current key. Name is the name of the data value to read. 

If the Registry entry does not contain a floating-point value, an exception is raised. 

 

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