BloombergLP::bdldfp::DecimalUtil::parseDecimal128Exact

Same as the related overload above for parseDecimal128Exact.

Synopsis

Declared in <bdldfp_decimalutil.h>

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

Return Value

0 if exact, positive if approximate, and negative if unparsable

Parameters

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