# getValueAsFloat method

double getValueAsFloat()

Gets the the field value as a float.

return The field value as a float. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    double getValueAsFloat() {
      Pointer<Float> pValueAsFloat = calloc();
      try {
        var err = biosealSDK.id3BiosealField_GetValueAsFloat(_pHandle.value, pValueAsFloat);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vValueAsFloat = pValueAsFloat.value;
        return vValueAsFloat;
      } finally {
        calloc.free(pValueAsFloat);
      }
    }