bson_iter_double man page

bson_iter_double() — Fetches the contents of a BSON_TYPE_DOUBLE field.

Synopsis

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

double
bson_iter_double (const bson_iter_t *iter);

Parameters

iter
A bson_iter_t

Description

Fetches the contents of a BSON_TYPE_DOUBLE field.

Returns

A double.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐28 libbson