Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 420 Bytes

bson_iter_double.rst

File metadata and controls

31 lines (19 loc) · 420 Bytes
man_page:bson_iter_double

bson_iter_double()

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.