CRField::getFloat
Previous  Index  Next

float getFloat();

Return Value

Float value stored in the field.

Description

Call this member function to retrieve field data in the current record represented as float. The value of the field will be converted to float value if possible. Throws an exception when type conversion is not possible.


Example

  float deptNo;
  deptNo = dataset.field("DeptNo").getFloat();

See Also

CRField::setFloat, CRField::isNull


CRField | Classes | OCL | Index