BloombergLP::bdldfp::DecimalUtil::parseDecimal64Exact

Same as the related overload above for parseDecimal64Exact.

Synopsis

Declared in <bdldfp_decimalutil.h>

template<class STRING_TYPE>
static
int
parseDecimal64Exact(
    Decimal64* out,
    STRING_TYPE const& str);

Return Value

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

Parameters

NameDescription
outreceives the parsed value
strdecimal text to parse