BloombergLP::bdldfp::DecimalUtil::parseDecimal32

Same as the related overload above for parseDecimal32.

Synopsis

Declared in <bdldfp_decimalutil.h>

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

Return Value

0 on success and non-zero otherwise

Parameters

NameDescription
outreceives the parsed value
strdecimal text to parse