BSON_DECIMAL128_TO_STRING(3) libbson BSON_DECIMAL128_TO_STRING(3)

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


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

Converts dec into a printable string.

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


MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0