BloombergLP::bdldfp::DecimalUtil::parseDecimal128

Same as the related overload above for parseDecimal128.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
int
parseDecimal128(
    Decimal128* out,
    char const* str);

Return Value

0 on success and non-zero otherwise

Parameters

NameDescription
outreceives the parsed value
strnull-terminated decimal text to parse