getValue

The function getValue() returns content of any numeric field as a double value.
Do not forget to call readRecord().