CRField::getDouble
Previous  Index  Next

double getDouble();

Return Value

Double value stored in the field.

Description

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


Example

  double deptNo;
  deptNo = dataset.field("DeptNo").getDouble();

See Also

CRField::setDouble, CRField::isNull


CRField | Classes | OCL | Index