BloombergLP::bdldfp::DecimalUtil::parseDecimal64

Same as the related overload above for parseDecimal64.

Synopsis

Declared in <bdldfp_decimalutil.h>

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

Return Value

0 on success and non-zero otherwise

Parameters

NameDescription
outreceives the parsed value
strdecimal text to parse