Function anjay_get_double

Function Documentation

int anjay_get_double(anjay_input_ctx_t *ctx, double *out)

Reads a floating-point value as a double from the request content.

Parameters:
  • ctx – Input context to operate on.

  • out[out] Returned value. If the call is not successful, it is guaranteed to be left untouched.

Returns:

0 on success, a negative value in case of error.