BSON_DECIMAL128_FROM_STRING(3)

NAME
bson_decimal128_from_string - bson_decimal128_from_string()

SYNOPSIS

bool
bson_decimal128_from_string (const char *string, bson_decimal128_t *dec);

PARAMETERS

•   string: A string containing ASCII encoded Decimal128.

•   dec: A bson_decimal128_t.

DESCRIPTION

Parses the string containing ascii encoded decimal128 and initialize the bytes in decimal128.

EXAMPLE

bson_decimal128_t dec;
bson_decimal128_from_string ("1.00", &dec);

AUTHOR
MongoDB, Inc

COPYRIGHT
2017, MongoDB, Inc