GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BSON_DECIMAL128_FROM_STRING(3) libbson BSON_DECIMAL128_FROM_STRING(3)

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


  • string: A string containing ASCII encoded Decimal128.
  • dec: A bson_decimal128_t.

Parses the string containing ascii encoded Decimal128 and initialize the bytes in dec. See the Decimal128 specification for the exact string format.

Returns true if valid Decimal128 string was provided, otherwise false and dec will be set to NaN.

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


MongoDB, Inc

2009-present, MongoDB, Inc.

July 3, 2025 1.30.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.