BloombergLP::bdldfp::DecimalUtil::parseDecimal64Exact

Same as the overload taking Decimal32.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
int
parseDecimal64Exact(
    Decimal64* 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