bson_iter_double - Man Page

Synopsis

#define BSON_ITER_HOLDS_DOUBLE(iter) \
   (bson_iter_type ((iter)) == BSON_TYPE_DOUBLE)

double
bson_iter_double (const bson_iter_t *iter);

Parameters

Description

Fetches the contents of a BSON_TYPE_DOUBLE field.

Returns

A double.

Author

MongoDB, Inc

Info

Apr 03, 2024 1.26.2 libbson