Function sapnwrfc::binding::RfcSetFloat [] [src]

pub unsafe extern "C" fn RfcSetFloat(
    dataHandle: DATA_CONTAINER_HANDLE,
    name: *const SAP_UC,
    value: RFC_FLOAT,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Sets a floating point field.

The field specified by name needs to be of one of the following data types: - RFCTYPE_FLOAT - RFCTYPE_BCD - RFCTYPE_CHAR - RFCTYPE_STRING - RFCTYPE_NUM - RFCTYPE_DECF16 - RFCTYPE_DECF34 Note: If the target field is CHAR or STRING, the value will be converted to a string in scientific notation. If it is NUMC, it will be truncated to the next integer.

\in dataHandle A data container (function handle, structure handle or table handle). If dataHandle is a table handle, the function will set the field value of the current row. \in *name The name of the field to set. \in value The double value to set. \out *errorInfo Field does not exist or is not of a supported type? \return RFC_RC