bson_decimal128_to_string man page

bson_decimal128_to_string() — Converts dec into a printable string.

Synopsis

void
bson_decimal128_to_string (const bson_decimal128_t *dec,
                           char                    *str);

Parameters

dec
A bson_decimal128_t
str
A location of length BSON_DECIMAL128_STRING for the resulting string.

Description

Converts dec into a printable string.

Example

char decimal128_string[BSON_DECIMAL128_STRING];
bson_decimal128_to_string (&decimal128t, decimal128_string);

Colophon

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

Info

2016‐11‐12 libbson